Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 106.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2273/0.2273, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 68.47 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1594, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.0172/0.1767, allocations: 13.48 MB / 0.501 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01467/0.1914, allocations: 4.802 MB / 0.5057 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003872/0.1954, allocations: 87.75 kB / 0.5058 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008346/0.2038, allocations: 3.742 MB / 0.5095 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009044/0.2129, allocations: 2.257 MB / 0.5117 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003653/0.2166, allocations: 1.084 MB / 0.5127 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01239/0.229, allocations: 6.202 MB / 0.5188 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00941/0.2385, allocations: 4.522 MB / 0.5232 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006121/0.2447, allocations: 2.052 MB / 0.5252 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006735/0.2515, allocations: 2.769 MB / 0.5279 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002626/0.2541, allocations: 428 kB / 0.5283 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005104/0.2593, allocations: 1.451 MB / 0.5297 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3803/0.6396, allocations: 2.491 MB / 0.5322 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005645/0.6453, allocations: 2.795 MB / 0.5349 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.6618, allocations: 8.821 MB / 0.5435 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.6619, allocations: 3.781 kB / 0.5435 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6619, allocations: 3.094 kB / 0.5435 GB, free: 10.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004806/0.6624, allocations: 0 / 0.5435 GB, free: 10.74 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02896/0.6913, allocations: 6.245 MB / 0.5496 GB, free: 8.383 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.6914, allocations: 15.98 kB / 0.5496 GB, free: 8.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.7046, allocations: 2.533 MB / 0.5521 GB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/0.7174, allocations: 4.122 MB / 0.5561 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/0.7179, allocations: 283.8 kB / 0.5564 GB, free: 7.141 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002696/0.7206, allocations: 382.6 kB / 0.5568 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03056/0.7512, allocations: 12.01 MB / 0.5685 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004802/0.7517, allocations: 56.44 kB / 0.5685 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002334/0.754, allocations: 189.4 kB / 0.5687 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003887/0.7579, allocations: 2.141 MB / 0.5708 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02789/0.7859, allocations: 10.37 MB / 0.5809 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08971/0.8756, allocations: 47.31 MB / 0.6271 GB, free: 9.004 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01576/0.8914, allocations: 5.826 MB / 0.6328 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004793/0.8963, allocations: 2.972 MB / 0.6357 GB, free: 72 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01902/0.9153, allocations: 8.864 MB / 0.6444 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/0.9155, allocations: 55.62 kB / 0.6444 GB, free: 7.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.871e-06/0.9155, allocations: 0 / 0.6444 GB, free: 7.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1284/1.044, allocations: 35 MB / 0.6786 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/1.044, allocations: 213.9 kB / 0.6788 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/1.057, allocations: 4.797 MB / 0.6835 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001495/1.058, allocations: 61.7 kB / 0.6836 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00391/1.062, allocations: 3.549 MB / 0.687 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.064, allocations: 0.9732 MB / 0.688 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002549/1.066, allocations: 1.42 MB / 0.6894 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.067, allocations: 305.1 kB / 0.6897 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005019/1.072, allocations: 3.175 MB / 0.6928 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007483/1.079, allocations: 7.04 MB / 0.6996 GB, free: 12.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/1.095, allocations: 10.95 MB / 0.7103 GB, free: 436 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000188/1.095, allocations: 44 kB / 0.7104 GB, free: 392 kB / 0.545 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03331/1.129, allocations: 13.74 MB / 0.7238 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/1.129, allocations: 64 kB / 0.7239 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002767/1.129, allocations: 132 kB / 0.724 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01264/1.142, allocations: 4.399 MB / 0.7283 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005811/1.148, allocations: 1.474 MB / 0.7297 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4481/1.596, allocations: 29.03 MB / 0.7581 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007522/1.603, allocations: 404 kB / 0.7585 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/1.605, allocations: 409.5 kB / 0.7588 GB, free: 202.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.006821/1.612, allocations: 2.477 MB / 0.7613 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/1.613, allocations: 437.7 kB / 0.7617 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/1.632, allocations: 8.492 MB / 0.77 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.891e-05/1.632, allocations: 28.03 kB / 0.77 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.55e-05/1.632, allocations: 12.53 kB / 0.77 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.24e-05/1.632, allocations: 17.36 kB / 0.77 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03177/1.664, allocations: 16.92 MB / 0.7866 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/1.664, allocations: 3.938 kB / 0.7866 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/1.665, allocations: 295.9 kB / 0.7868 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009238/1.675, allocations: 3.97 MB / 0.7907 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004013/1.675, allocations: 48.62 kB / 0.7908 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03164/1.707, allocations: 27.79 MB / 0.8179 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.707, allocations: 7.938 kB / 0.8179 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01988/1.727, allocations: 12.44 MB / 0.8301 GB, free: 160.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003091/1.73, allocations: 0.9652 MB / 0.831 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002066/1.732, allocations: 49.89 kB / 0.831 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003691/1.736, allocations: 171.8 kB / 0.8312 GB, free: 159 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/1.737, allocations: 194.1 kB / 0.8314 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/1.737, allocations: 73.31 kB / 0.8315 GB, free: 158.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005602/1.743, allocations: 3.028 MB / 0.8344 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.7e-07/1.743, allocations: 0 / 0.8344 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00853/1.751, allocations: 1.472 MB / 0.8359 GB, free: 154.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006478/1.752, allocations: 190.9 kB / 0.836 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01292/1.765, allocations: 8.464 MB / 0.8443 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.085e-05/1.765, allocations: 0 / 0.8443 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005319/1.77, allocations: 3.538 MB / 0.8478 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006238/1.776, allocations: 0.584 MB / 0.8483 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02532/1.802, allocations: 12.46 MB / 0.8605 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005382/1.807, allocations: 3.933 MB / 0.8643 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004469/1.812, allocations: 2.007 MB / 0.8663 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007691/1.812, allocations: 279.4 kB / 0.8666 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/1.812, allocations: 0 / 0.8666 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1155/1.928, allocations: 69.34 MB / 0.9343 GB, free: 53.55 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches