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.002025/0.002025, allocations: 106.9 kB / 16.41 MB, free: 6.48 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.002223/0.002224, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.495/1.495, 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.2361/0.2361, allocations: 43.53 MB / 314.1 MB, free: 456 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.001395/0.001395, allocations: 71.91 kB / 441.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.146, allocations: 57.8 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01574/0.1618, allocations: 13.48 MB / 0.501 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.1727, allocations: 4.802 MB / 0.5057 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.1755, allocations: 91.69 kB / 0.5058 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007438/0.183, allocations: 3.746 MB / 0.5095 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00622/0.1892, allocations: 2.194 MB / 0.5116 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.1921, allocations: 1.076 MB / 0.5127 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009344/0.2015, allocations: 6.199 MB / 0.5187 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006971/0.2085, allocations: 4.533 MB / 0.5231 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004083/0.2126, allocations: 2.044 MB / 0.5251 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004223/0.2168, allocations: 2.769 MB / 0.5278 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001631/0.2185, allocations: 428 kB / 0.5283 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.2222, allocations: 1.451 MB / 0.5297 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3083/0.5306, allocations: 2.495 MB / 0.5321 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00582/0.5365, allocations: 2.793 MB / 0.5348 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.5535, allocations: 8.826 MB / 0.5435 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.5536, allocations: 1.875 kB / 0.5435 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.5536, allocations: 0 / 0.5435 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004669/0.5541, allocations: 1.375 kB / 0.5435 GB, free: 10.75 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.03298/0.5871, allocations: 6.256 MB / 0.5496 GB, free: 8.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.721e-05/0.5872, allocations: 13.3 kB / 0.5496 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01962/0.6068, allocations: 2.524 MB / 0.552 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/0.6229, allocations: 4.121 MB / 0.5561 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004241/0.6233, allocations: 280.7 kB / 0.5563 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00232/0.6257, allocations: 383.4 kB / 0.5567 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02361/0.6493, allocations: 12.01 MB / 0.5684 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/0.6495, allocations: 58.36 kB / 0.5685 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000506/0.65, allocations: 178.5 kB / 0.5687 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002898/0.6529, allocations: 2.141 MB / 0.5708 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01946/0.6724, allocations: 10.37 MB / 0.5809 GB, free: 8.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06238/0.7348, allocations: 47.3 MB / 0.6271 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/0.7491, allocations: 5.82 MB / 0.6328 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003762/0.7529, allocations: 2.976 MB / 0.6357 GB, free: 88 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01557/0.7685, allocations: 8.865 MB / 0.6443 GB, free: 7.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/0.7686, allocations: 54.88 kB / 0.6444 GB, free: 7.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 4.629e-06/0.7686, allocations: 1.688 kB / 0.6444 GB, free: 7.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1283/0.8969, allocations: 35 MB / 0.6786 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.8971, allocations: 217.8 kB / 0.6788 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00858/0.9057, allocations: 4.793 MB / 0.6835 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000855/0.9066, allocations: 61.7 kB / 0.6835 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003151/0.9097, allocations: 3.548 MB / 0.687 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001552/0.9113, allocations: 0.9747 MB / 0.6879 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002239/0.9135, allocations: 1.42 MB / 0.6893 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.9137, allocations: 301.1 kB / 0.6896 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004599/0.9183, allocations: 3.18 MB / 0.6927 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007369/0.9257, allocations: 7.044 MB / 0.6996 GB, free: 12.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01362/0.9393, allocations: 10.95 MB / 0.7103 GB, free: 444 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.491e-05/0.9394, allocations: 40 kB / 0.7103 GB, free: 404 kB / 0.545 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03138/0.9708, allocations: 13.74 MB / 0.7237 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.971, allocations: 68.25 kB / 0.7238 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000194/0.9712, allocations: 132 kB / 0.7239 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/0.9848, allocations: 4.396 MB / 0.7282 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006039/0.9908, allocations: 1.47 MB / 0.7297 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4376/1.428, allocations: 29.03 MB / 0.758 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008753/1.437, allocations: 404 kB / 0.7584 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/1.439, allocations: 412.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.007084/1.446, allocations: 2.476 MB / 0.7612 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00157/1.448, allocations: 437.8 kB / 0.7616 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02005/1.468, allocations: 8.488 MB / 0.7699 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.962e-05/1.468, allocations: 27.86 kB / 0.7699 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.532e-05/1.468, allocations: 13.28 kB / 0.7699 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-05/1.468, allocations: 16.89 kB / 0.77 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03565/1.504, allocations: 16.93 MB / 0.7865 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.532e-05/1.504, allocations: 7.625 kB / 0.7865 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/1.506, allocations: 296 kB / 0.7868 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/1.517, allocations: 3.965 MB / 0.7907 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00058/1.517, allocations: 46.92 kB / 0.7907 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0331/1.55, allocations: 27.79 MB / 0.8178 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.55, allocations: 11.94 kB / 0.8178 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/1.571, allocations: 12.44 MB / 0.83 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003628/1.575, allocations: 0.9617 MB / 0.8309 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/1.576, allocations: 47.2 kB / 0.831 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.579, allocations: 175.8 kB / 0.8311 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008524/1.58, allocations: 189.6 kB / 0.8313 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.58, allocations: 75.98 kB / 0.8314 GB, free: 158.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004804/1.585, allocations: 3.026 MB / 0.8344 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.585, allocations: 0 / 0.8344 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009559/1.595, allocations: 1.471 MB / 0.8358 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.000912/1.596, allocations: 194.4 kB / 0.836 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01389/1.609, allocations: 8.464 MB / 0.8442 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.609, allocations: 0 / 0.8442 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005765/1.615, allocations: 3.538 MB / 0.8477 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.005839/1.621, allocations: 0.5887 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.02396/1.645, allocations: 12.46 MB / 0.8604 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004876/1.65, allocations: 3.932 MB / 0.8643 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005099/1.655, allocations: 1.999 MB / 0.8662 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.656, allocations: 279.4 kB / 0.8665 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of SimCode: time 2.645e-06/1.656, allocations: 0 / 0.8665 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1114/1.768, allocations: 69.99 MB / 0.9348 GB, free: 52.99 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