Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00183/0.00183, allocations: 188.9 kB / 16.09 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 226.6 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008329/0.0008327, allocations: 91.42 kB / 295.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3106/0.3106, allocations: 44.81 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.0002965, allocations: 11.98 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3235, allocations: 62.96 MB / 0.5159 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002036/0.3256, allocations: 1.524 MB / 0.5174 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003337/0.3259, allocations: 146 kB / 0.5175 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.949e-05/0.326, allocations: 2.594 kB / 0.5175 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.442e-05/0.3261, allocations: 21.58 kB / 0.5175 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.3263, allocations: 44.2 kB / 0.5176 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.3264, allocations: 28.5 kB / 0.5176 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.3266, allocations: 173 kB / 0.5178 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.3268, allocations: 46.12 kB / 0.5178 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/0.3269, allocations: 55.72 kB / 0.5179 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.327, allocations: 69.88 kB / 0.5179 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.3271, allocations: 8.906 kB / 0.5179 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.387e-05/0.3271, allocations: 10.03 kB / 0.5179 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.3272, allocations: 22.12 kB / 0.518 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.079e-05/0.3273, allocations: 101.5 kB / 0.5181 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.3274, allocations: 132.5 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3274, allocations: 0 / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3274, allocations: 6.906 kB / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3275, allocations: 0 / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005566/0.328, allocations: 422.7 kB / 0.5186 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3281, allocations: 11.72 kB / 0.5186 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.3281, allocations: 17.44 kB / 0.5186 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3283, allocations: 215.1 kB / 0.5188 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3283, allocations: 10.52 kB / 0.5188 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.3284, allocations: 19.41 kB / 0.5189 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.3287, allocations: 166.2 kB / 0.519 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.3288, allocations: 3.125 kB / 0.519 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.3288, allocations: 11.94 kB / 0.519 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.3288, allocations: 5.75 kB / 0.519 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.329, allocations: 87.06 kB / 0.5191 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000865/0.3299, allocations: 0.6052 MB / 0.5197 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.3302, allocations: 139.4 kB / 0.5198 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.588e-05/0.3303, allocations: 51.58 kB / 0.5199 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.3303, allocations: 0 / 0.5199 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3303, allocations: 41.69 kB / 0.5199 GB, free: 34.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3303, allocations: 0 / 0.5199 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008976/0.3312, allocations: 388.9 kB / 0.5203 GB, free: 33.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.3313, allocations: 80.11 kB / 0.5204 GB, free: 33.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.3314, allocations: 134.4 kB / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.3314, allocations: 25.7 kB / 0.5205 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.3315, allocations: 129.1 kB / 0.5207 GB, free: 33.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.3315, allocations: 58.67 kB / 0.5207 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.3315, allocations: 0 / 0.5207 GB, free: 33.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.3316, allocations: 325.2 kB / 0.521 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.3317, allocations: 37.95 kB / 0.5211 GB, free: 33.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.3318, allocations: 107.1 kB / 0.5212 GB, free: 32.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.3321, allocations: 152.9 kB / 0.5213 GB, free: 32.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3321, allocations: 0 / 0.5213 GB, free: 32.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004514/0.3325, allocations: 229.5 kB / 0.5215 GB, free: 32.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3326, allocations: 9.938 kB / 0.5215 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3326, allocations: 3.031 kB / 0.5215 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/0.3328, allocations: 51.62 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.333, allocations: 40.59 kB / 0.5216 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.3348, allocations: 2.722 MB / 0.5243 GB, free: 29.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.335, allocations: 17.62 kB / 0.5243 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.335, allocations: 12.75 kB / 0.5243 GB, free: 29.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.3351, allocations: 129.4 kB / 0.5244 GB, free: 29.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.3352, allocations: 9.344 kB / 0.5244 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.3352, allocations: 12.72 kB / 0.5245 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3353, allocations: 2.625 kB / 0.5245 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3353, allocations: 2.656 kB / 0.5245 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3353, allocations: 3.141 kB / 0.5245 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.3357, allocations: 248.6 kB / 0.5247 GB, free: 29.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3357, allocations: 0 / 0.5247 GB, free: 29.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.3359, allocations: 24.36 kB / 0.5247 GB, free: 29.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.3361, allocations: 47.53 kB / 0.5248 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3361, allocations: 4 kB / 0.5248 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.3378, allocations: 2.721 MB / 0.5274 GB, free: 26.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3379, allocations: 3.422 kB / 0.5274 GB, free: 26.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.3383, allocations: 380 kB / 0.5278 GB, free: 26.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.3383, allocations: 87.55 kB / 0.5279 GB, free: 26.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.3384, allocations: 6.906 kB / 0.5279 GB, free: 26.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3386, allocations: 3.938 kB / 0.5279 GB, free: 26.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.3386, allocations: 16.42 kB / 0.5279 GB, free: 26.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.3386, allocations: 2.844 kB / 0.5279 GB, free: 26.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.646e-05/0.3387, allocations: 98.22 kB / 0.528 GB, free: 26.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3387, allocations: 0 / 0.528 GB, free: 26.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007051/0.3394, allocations: 61.84 kB / 0.5281 GB, free: 26.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.3396, allocations: 98.34 kB / 0.5282 GB, free: 26.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005789/0.3401, allocations: 339.2 kB / 0.5285 GB, free: 25.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3402, allocations: 4.125 kB / 0.5285 GB, free: 25.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.3405, allocations: 296.7 kB / 0.5288 GB, free: 25.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.3412, allocations: 26.58 kB / 0.5288 GB, free: 25.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.3424, allocations: 0.8059 MB / 0.5296 GB, free: 25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.3426, allocations: 0.7238 MB / 0.5303 GB, free: 24.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.3427, allocations: 15.19 kB / 0.5303 GB, free: 24.3 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3427, allocations: 0 / 0.5303 GB, free: 24.3 MB / 378.7 MB Notification: Performance of Templates: time 0.005638/0.3483, allocations: 3.095 MB / 0.5333 GB, free: 24.07 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches