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.0007978/0.0007978, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.004819/0.004819, allocations: 162.5 kB / 24.7 MB, free: 8.879 MB / 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 0.8959/0.8959, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2397/0.2397, allocations: 32.79 MB / 294.2 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] 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 1.704e-06/1.704e-06, allocations: 0 / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.439e-05/3.609e-05, allocations: 3.406 kB / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.1825/0.1826, allocations: 11.67 MB / 452.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00749/0.1901, allocations: 4.602 MB / 457.1 MB, free: 37.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.1921, allocations: 115.3 kB / 457.2 MB, free: 37.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.1957, allocations: 3.82 MB / 461 MB, free: 35.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.1998, allocations: 2.281 MB / 463.3 MB, free: 34.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.2014, allocations: 1.188 MB / 464.5 MB, free: 34.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005199/0.2066, allocations: 7.717 MB / 472.2 MB, free: 31.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003891/0.2105, allocations: 4.292 MB / 476.5 MB, free: 29.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004584/0.2151, allocations: 3.174 MB / 479.7 MB, free: 28.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0041/0.2192, allocations: 3.156 MB / 482.8 MB, free: 27.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00138/0.2206, allocations: 450.7 kB / 483.3 MB, free: 27.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/0.2241, allocations: 1.399 MB / 484.7 MB, free: 26.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003403/0.2275, allocations: 2.656 MB / 487.3 MB, free: 25.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004474/0.2319, allocations: 1.65 MB / 489 MB, free: 25.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.2447, allocations: 8.946 MB / 497.9 MB, free: 21.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2447, allocations: 0 / 497.9 MB, free: 21.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2447, allocations: 0 / 497.9 MB, free: 21.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003557/0.2451, allocations: 0 / 497.9 MB, free: 21.53 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.01649/0.2615, allocations: 6.444 MB / 0.4926 GB, free: 17.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2616, allocations: 10 kB / 0.4926 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006907/0.2685, allocations: 2.646 MB / 0.4952 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007297/0.2758, allocations: 3.835 MB / 0.4989 GB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.2759, allocations: 289.3 kB / 0.4992 GB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.2772, allocations: 383.4 kB / 0.4995 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.292, allocations: 12.06 MB / 0.5113 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.2922, allocations: 63.53 kB / 0.5114 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003863/0.2926, allocations: 187.8 kB / 0.5116 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001991/0.2946, allocations: 2.132 MB / 0.5136 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/0.31, allocations: 10.34 MB / 0.5237 GB, free: 4.121 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04588/0.3559, allocations: 44.05 MB / 0.5668 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008977/0.3649, allocations: 5.299 MB / 0.5719 GB, free: 1.633 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002818/0.3677, allocations: 2.707 MB / 0.5746 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.3778, allocations: 8.027 MB / 0.5824 GB, free: 6.855 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.3778, allocations: 55.81 kB / 0.5825 GB, free: 6.793 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 4.879e-06/0.3778, allocations: 4 kB / 0.5825 GB, free: 6.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.07294/0.4508, allocations: 36.27 MB / 0.6179 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.4509, allocations: 213.9 kB / 0.6181 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006828/0.4577, allocations: 4.682 MB / 0.6227 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007095/0.4584, allocations: 61.7 kB / 0.6227 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002422/0.4609, allocations: 3.675 MB / 0.6263 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00135/0.4622, allocations: 0.9999 MB / 0.6273 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001964/0.4642, allocations: 1.413 MB / 0.6287 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.4643, allocations: 305.1 kB / 0.629 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004069/0.4683, allocations: 3.176 MB / 0.6321 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2263/0.6947, allocations: 7.088 MB / 0.639 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.705, allocations: 10.95 MB / 0.6497 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00024/0.7052, allocations: 38 kB / 0.6497 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02165/0.7269, allocations: 13.67 MB / 0.6631 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.525e-05/0.727, allocations: 66.25 kB / 0.6631 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/0.7271, allocations: 134.7 kB / 0.6633 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007251/0.7344, allocations: 4.377 MB / 0.6675 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/0.7383, allocations: 1.48 MB / 0.669 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02667/0.765, allocations: 28.31 MB / 0.6966 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005394/0.7704, allocations: 497 kB / 0.6971 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/0.7716, allocations: 413.8 kB / 0.6975 GB, free: 123 MB / 0.5261 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.004791/0.7764, allocations: 2.476 MB / 0.6999 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/0.7775, allocations: 411.6 kB / 0.7003 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009055/0.7865, allocations: 8.385 MB / 0.7085 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/0.7866, allocations: 28 kB / 0.7085 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.7866, allocations: 12 kB / 0.7085 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.7866, allocations: 15.11 kB / 0.7085 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/0.805, allocations: 15.31 MB / 0.7235 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/0.805, allocations: 8 kB / 0.7235 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/0.8058, allocations: 303.5 kB / 0.7238 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005318/0.8111, allocations: 3.965 MB / 0.7277 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/0.8114, allocations: 53.06 kB / 0.7277 GB, free: 98.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/0.8315, allocations: 27.12 MB / 0.7542 GB, free: 71.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8315, allocations: 8.812 kB / 0.7542 GB, free: 71.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/0.8441, allocations: 12.35 MB / 0.7663 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/0.8457, allocations: 444.2 kB / 0.7667 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005908/0.8462, allocations: 45.97 kB / 0.7667 GB, free: 58.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.8477, allocations: 235.7 kB / 0.767 GB, free: 58.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005922/0.8483, allocations: 214 kB / 0.7672 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.8484, allocations: 68 kB / 0.7672 GB, free: 58.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003619/0.852, allocations: 2.812 MB / 0.77 GB, free: 55.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/0.852, allocations: 0 / 0.77 GB, free: 55.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007967/0.86, allocations: 1.589 MB / 0.7715 GB, free: 53.85 MB / 0.5261 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.000976/0.861, allocations: 209.4 kB / 0.7717 GB, free: 53.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01124/0.8722, allocations: 8.136 MB / 0.7797 GB, free: 45.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.8722, allocations: 0.9375 kB / 0.7797 GB, free: 45.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004145/0.8764, allocations: 3.317 MB / 0.7829 GB, free: 42.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/0.8798, allocations: 0.5253 MB / 0.7834 GB, free: 41.65 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/0.9004, allocations: 13.08 MB / 0.7962 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006539/0.9069, allocations: 3.376 MB / 0.7995 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.9081, allocations: 312.4 kB / 0.7998 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/0.9081, allocations: 0 / 0.7998 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.3063/1.214, allocations: 143.6 MB / 0.9401 GB, free: 92.59 MB / 0.5417 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] 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: 11.650746655650437]