Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001918/0.001918, allocations: 91.61 kB / 20.96 MB, free: 3.469 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.001927/0.001927, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.651/1.651, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3489/0.3489, allocations: 32.8 MB / 293.9 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.178e-05, allocations: 2.312 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.02354/0.02357, allocations: 12.87 MB / 388.1 MB, free: 8.086 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.03533, allocations: 4.719 MB / 392.8 MB, free: 3.352 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002491/0.03782, allocations: 115.4 kB / 393 MB, free: 3.238 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009239/0.04706, allocations: 3.991 MB / 396.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007459/0.05452, allocations: 2.298 MB / 399.2 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.05811, allocations: 1.197 MB / 400.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01442/0.07254, allocations: 7.721 MB / 408.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008235/0.08077, allocations: 4.435 MB / 412.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007705/0.08848, allocations: 3.189 MB / 415.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006182/0.09466, allocations: 3.223 MB / 419 MB, free: 9.062 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001474/0.09613, allocations: 444 kB / 419.4 MB, free: 8.629 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.09979, allocations: 1.408 MB / 420.8 MB, free: 7.219 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003869/0.1037, allocations: 2.677 MB / 423.5 MB, free: 4.535 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002919/0.1066, allocations: 1.655 MB / 425.2 MB, free: 2.875 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.1188, allocations: 8.972 MB / 434.2 MB, free: 9.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1188, allocations: 0 / 434.2 MB, free: 9.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1188, allocations: 0 / 434.2 MB, free: 9.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002342/0.119, allocations: 0 / 434.2 MB, free: 9.875 MB / 410.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.01791/0.1369, allocations: 7.401 MB / 441.6 MB, free: 2.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.137, allocations: 8.031 kB / 441.6 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1655/0.3025, allocations: 3.075 MB / 444.6 MB, free: 98.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008463/0.311, allocations: 3.509 MB / 448.1 MB, free: 97.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.3112, allocations: 284.3 kB / 448.4 MB, free: 97.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.3122, allocations: 386.4 kB / 448.8 MB, free: 97.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.3257, allocations: 7.843 MB / 456.6 MB, free: 93.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/0.3259, allocations: 60.81 kB / 456.7 MB, free: 93.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004376/0.3263, allocations: 179.7 kB / 456.9 MB, free: 93.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002706/0.329, allocations: 2.146 MB / 459 MB, free: 92.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.3421, allocations: 4.478 MB / 463.5 MB, free: 92.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05418/0.3963, allocations: 54.95 MB / 0.5063 GB, free: 49.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/0.4082, allocations: 3.275 MB / 0.5095 GB, free: 47.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.41, allocations: 0.9322 MB / 0.5104 GB, free: 46.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01272/0.4227, allocations: 5.709 MB / 0.516 GB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.4227, allocations: 63.98 kB / 0.516 GB, free: 41.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 5.65e-06/0.4227, allocations: 4 kB / 0.516 GB, free: 41.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=262): time 0.1007/0.5235, allocations: 27.31 MB / 0.5427 GB, free: 15.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.5236, allocations: 209.9 kB / 0.5429 GB, free: 15.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006305/0.5299, allocations: 5.121 MB / 0.5479 GB, free: 10.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006245/0.5305, allocations: 65.69 kB / 0.548 GB, free: 10.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001975/0.5325, allocations: 4.102 MB / 0.552 GB, free: 6.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.5336, allocations: 1.117 MB / 0.5531 GB, free: 4.945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002093/0.5357, allocations: 1.785 MB / 0.5548 GB, free: 3.148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.5357, allocations: 484.7 kB / 0.5553 GB, free: 2.672 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/0.5378, allocations: 1.083 MB / 0.5563 GB, free: 1.586 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008612/0.5464, allocations: 7.068 MB / 0.5632 GB, free: 7.914 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/0.5614, allocations: 9.042 MB / 0.5721 GB, free: 12.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001991/0.5616, allocations: 40 kB / 0.5721 GB, free: 12.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02784/0.5895, allocations: 8.725 MB / 0.5806 GB, free: 3.508 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.5896, allocations: 64 kB / 0.5807 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002155/0.5898, allocations: 140.1 kB / 0.5808 GB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01585/0.6056, allocations: 3.68 MB / 0.5844 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005907/0.6116, allocations: 1.474 MB / 0.5859 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1917/0.8033, allocations: 14.05 MB / 0.5996 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006167/0.8094, allocations: 497.3 kB / 0.6001 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/0.8106, allocations: 406.5 kB / 0.6004 GB, free: 116.2 MB / 458.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.002632/0.8132, allocations: 0.8107 MB / 0.6012 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/0.8143, allocations: 490.6 kB / 0.6017 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.8277, allocations: 4.639 MB / 0.6062 GB, free: 115.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.308e-05/0.8277, allocations: 31.78 kB / 0.6063 GB, free: 115.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.028e-05/0.8278, allocations: 16.41 kB / 0.6063 GB, free: 115.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.281e-05/0.8278, allocations: 9.891 kB / 0.6063 GB, free: 115.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02805/0.8559, allocations: 11.83 MB / 0.6178 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-05/0.8559, allocations: 3.531 kB / 0.6178 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.8573, allocations: 300 kB / 0.6181 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01147/0.8688, allocations: 3.283 MB / 0.6213 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004701/0.8692, allocations: 46.5 kB / 0.6214 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0233/0.8925, allocations: 13.08 MB / 0.6342 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.8925, allocations: 7.438 kB / 0.6342 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/0.911, allocations: 6.147 MB / 0.6402 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/0.913, allocations: 436.7 kB / 0.6406 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/0.9141, allocations: 46.77 kB / 0.6406 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/0.9171, allocations: 237.5 kB / 0.6409 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001081/0.9182, allocations: 201.8 kB / 0.641 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002408/0.9184, allocations: 72.69 kB / 0.6411 GB, free: 105.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004139/0.9226, allocations: 2.162 MB / 0.6432 GB, free: 104.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.9226, allocations: 0 / 0.6432 GB, free: 104.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008503/0.9311, allocations: 1.594 MB / 0.6448 GB, free: 104.6 MB / 458.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.0009054/0.932, allocations: 209 kB / 0.645 GB, free: 104.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01675/0.9487, allocations: 5.516 MB / 0.6504 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.9488, allocations: 0 / 0.6504 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005596/0.9544, allocations: 2.357 MB / 0.6527 GB, free: 101.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005761/0.9601, allocations: 0.5416 MB / 0.6532 GB, free: 101 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/0.9803, allocations: 10.07 MB / 0.663 GB, free: 93.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003986/0.9843, allocations: 3.094 MB / 0.666 GB, free: 91.01 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004033/0.9883, allocations: 1.68 MB / 0.6677 GB, free: 90.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008248/0.9891, allocations: 274.3 kB / 0.668 GB, free: 89.78 MB / 458.7 MB Notification: Performance of SimCode: time 7.715e-06/0.9892, allocations: 1.094 kB / 0.668 GB, free: 89.78 MB / 458.7 MB Notification: Performance of Templates: time 0.1373/1.126, allocations: 67.83 MB / 0.7342 GB, free: 23.1 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.240627331077121]