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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 91.67 kB / 20.21 MB, free: 4.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002702/0.002702, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2148/0.2148, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.607e-06/3.607e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.727e-05/5.088e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01435/0.0144, allocations: 12.97 MB / 359.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.02746, allocations: 4.72 MB / 364.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003423/0.03088, allocations: 111.4 kB / 364.7 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00928/0.04016, allocations: 4.007 MB / 368.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007634/0.0478, allocations: 2.34 MB / 371.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.05088, allocations: 1.216 MB / 372.3 MB, free: 356 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.06247, allocations: 7.149 MB / 379.4 MB, free: 9.188 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008353/0.07082, allocations: 4.47 MB / 383.9 MB, free: 4.652 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008751/0.07957, allocations: 3.22 MB / 387.1 MB, free: 1.426 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007334/0.08691, allocations: 3.25 MB / 390.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0023/0.08921, allocations: 448 kB / 390.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004346/0.09355, allocations: 1.416 MB / 392.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004433/0.09799, allocations: 2.7 MB / 394.9 MB, free: 9.605 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005335/0.1033, allocations: 1.686 MB / 396.6 MB, free: 7.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0177/0.121, allocations: 9.031 MB / 405.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.121, allocations: 0 / 405.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.372e-06/0.121, allocations: 3.984 kB / 405.7 MB, free: 14.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004459/0.1215, allocations: 0 / 405.7 MB, free: 14.85 MB / 346.7 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.02317/0.1447, allocations: 7.416 MB / 413.1 MB, free: 7.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1447, allocations: 12.03 kB / 413.1 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.1585, allocations: 3.087 MB / 416.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.1699, allocations: 3.546 MB / 419.7 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/0.1702, allocations: 283.7 kB / 420 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/0.1719, allocations: 388.1 kB / 420.4 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/0.1942, allocations: 7.845 MB / 428.2 MB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002125/0.1944, allocations: 55.59 kB / 428.3 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006549/0.1951, allocations: 175.9 kB / 428.4 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004011/0.1991, allocations: 2.147 MB / 430.6 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.2167, allocations: 4.477 MB / 435.1 MB, free: 224 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2347/0.4514, allocations: 55.01 MB / 490.1 MB, free: 58.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/0.463, allocations: 3.27 MB / 493.3 MB, free: 57.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.4647, allocations: 0.9247 MB / 494.3 MB, free: 57.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.4766, allocations: 5.725 MB / 500 MB, free: 54.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.4766, allocations: 61.11 kB / 0.4883 GB, free: 54.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=206): time 5.55e-06/0.4766, allocations: 0 / 0.4883 GB, free: 54.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=262): time 0.09906/0.5757, allocations: 27.39 MB / 0.5151 GB, free: 28.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.5758, allocations: 213.8 kB / 0.5153 GB, free: 28.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006456/0.5822, allocations: 5.104 MB / 0.5203 GB, free: 23.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000668/0.5829, allocations: 69.38 kB / 0.5203 GB, free: 23.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002399/0.5853, allocations: 4.096 MB / 0.5243 GB, free: 19.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001373/0.5867, allocations: 1.131 MB / 0.5254 GB, free: 18.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002224/0.5889, allocations: 1.781 MB / 0.5272 GB, free: 16.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.686e-05/0.5889, allocations: 476.8 kB / 0.5276 GB, free: 16.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.5911, allocations: 1.087 MB / 0.5287 GB, free: 15.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004242/0.5953, allocations: 7.076 MB / 0.5356 GB, free: 5.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/0.6071, allocations: 9.042 MB / 0.5444 GB, free: 9.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000243/0.6073, allocations: 40 kB / 0.5445 GB, free: 9.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02872/0.6361, allocations: 8.736 MB / 0.553 GB, free: 1.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.6362, allocations: 64.03 kB / 0.5531 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/0.6364, allocations: 136 kB / 0.5532 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01531/0.6517, allocations: 3.669 MB / 0.5568 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005868/0.6576, allocations: 1.474 MB / 0.5582 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03179/0.6894, allocations: 14.05 MB / 0.5719 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007927/0.6973, allocations: 0.4993 MB / 0.5724 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/0.6991, allocations: 415.9 kB / 0.5728 GB, free: 12.43 MB / 426.7 MB 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.00382/0.7029, allocations: 0.8018 MB / 0.5736 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/0.7046, allocations: 493.2 kB / 0.5741 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/0.7202, allocations: 4.641 MB / 0.5786 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.26e-05/0.7203, allocations: 31.83 kB / 0.5786 GB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-05/0.7203, allocations: 19.92 kB / 0.5787 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-05/0.7204, allocations: 11.97 kB / 0.5787 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03561/0.756, allocations: 11.87 MB / 0.5903 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/0.756, allocations: 4 kB / 0.5903 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.7577, allocations: 299.6 kB / 0.5906 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01331/0.771, allocations: 3.266 MB / 0.5938 GB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006022/0.7716, allocations: 55.94 kB / 0.5938 GB, free: 6.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2464/1.018, allocations: 13.07 MB / 0.6066 GB, free: 137.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.018, allocations: 6.219 kB / 0.6066 GB, free: 137.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02336/1.041, allocations: 6.156 MB / 0.6126 GB, free: 136.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005455/1.047, allocations: 0.8593 MB / 0.6134 GB, free: 136.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002071/1.049, allocations: 52.45 kB / 0.6135 GB, free: 136.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005258/1.054, allocations: 244.3 kB / 0.6137 GB, free: 136.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001168/1.055, allocations: 201.8 kB / 0.6139 GB, free: 136.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003414/1.056, allocations: 68.14 kB / 0.614 GB, free: 136.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006101/1.062, allocations: 2.197 MB / 0.6161 GB, free: 136.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/1.062, allocations: 3.062 kB / 0.6161 GB, free: 136.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01183/1.074, allocations: 1.616 MB / 0.6177 GB, free: 136.4 MB / 442.7 MB 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.001012/1.075, allocations: 211.6 kB / 0.6179 GB, free: 136.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01626/1.091, allocations: 5.533 MB / 0.6233 GB, free: 135.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/1.091, allocations: 0 / 0.6233 GB, free: 135.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007127/1.098, allocations: 2.354 MB / 0.6256 GB, free: 134.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005873/1.104, allocations: 0.5466 MB / 0.6261 GB, free: 133.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/1.127, allocations: 10.11 MB / 0.636 GB, free: 124.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004928/1.132, allocations: 3.116 MB / 0.639 GB, free: 122.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006029/1.138, allocations: 1.678 MB / 0.6407 GB, free: 120.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/1.139, allocations: 268.4 kB / 0.6409 GB, free: 120.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.754e-06/1.139, allocations: 0 / 0.6409 GB, free: 120.2 MB / 442.7 MB Notification: Performance of Templates: time 0.0992/1.239, allocations: 68.47 MB / 0.7078 GB, free: 51.76 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.247972988057882]