Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008695/0.0008695, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001075/0.001075, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.9801/0.9801, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2706/0.2706, allocations: 34.26 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.171e-05, allocations: 5.547 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01167/0.0117, allocations: 12.96 MB / 391 MB, free: 5.648 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006861/0.01857, allocations: 4.739 MB / 395.7 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008169/0.01938, allocations: 115.4 kB / 395.8 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003561/0.02294, allocations: 4.011 MB / 399.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.0257, allocations: 2.298 MB / 402.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.02726, allocations: 1.197 MB / 403.3 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004981/0.03225, allocations: 7.71 MB / 411.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002826/0.03507, allocations: 4.435 MB / 415.5 MB, free: 13.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.03849, allocations: 4.222 MB / 419.7 MB, free: 8.793 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.04084, allocations: 3.122 MB / 422.8 MB, free: 5.664 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.04124, allocations: 436 kB / 423.3 MB, free: 5.238 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.04283, allocations: 1.396 MB / 424.7 MB, free: 3.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.04432, allocations: 2.665 MB / 427.3 MB, free: 1.168 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.04566, allocations: 1.647 MB / 429 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.05006, allocations: 5.765 MB / 434.7 MB, free: 9.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.05007, allocations: 0 / 434.7 MB, free: 9.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.05007, allocations: 0 / 434.7 MB, free: 9.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.033e-05/0.05011, allocations: 4 kB / 434.7 MB, free: 9.727 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.006806/0.05692, allocations: 6.761 MB / 441.5 MB, free: 2.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.05696, allocations: 12.03 kB / 441.5 MB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1686/0.2256, allocations: 3.01 MB / 444.5 MB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005993/0.2316, allocations: 3.303 MB / 447.8 MB, free: 92.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.2318, allocations: 283.1 kB / 448.1 MB, free: 92.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008171/0.2326, allocations: 384.8 kB / 448.5 MB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009812/0.2424, allocations: 7.277 MB / 455.7 MB, free: 89.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.2425, allocations: 57.12 kB / 455.8 MB, free: 89.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003076/0.2428, allocations: 177.6 kB / 456 MB, free: 89.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00153/0.2443, allocations: 2.09 MB / 458.1 MB, free: 89.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007724/0.2521, allocations: 3.823 MB / 461.9 MB, free: 88.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03567/0.2877, allocations: 50.25 MB / 0.5001 GB, free: 47.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006233/0.294, allocations: 2.645 MB / 0.5027 GB, free: 47.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.2952, allocations: 0.627 MB / 0.5033 GB, free: 47.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008756/0.3039, allocations: 5.157 MB / 0.5084 GB, free: 44.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.304, allocations: 53.48 kB / 0.5084 GB, free: 44.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 4.308e-06/0.304, allocations: 4 kB / 0.5084 GB, free: 44.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.03905/0.343, allocations: 18.93 MB / 0.5269 GB, free: 30.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.3431, allocations: 201.2 kB / 0.5271 GB, free: 30.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/0.3471, allocations: 4.316 MB / 0.5313 GB, free: 26.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.3473, allocations: 53.7 kB / 0.5314 GB, free: 26.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.3489, allocations: 4.048 MB / 0.5353 GB, free: 22.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006108/0.3495, allocations: 0.8016 MB / 0.5361 GB, free: 21.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.3507, allocations: 1.499 MB / 0.5376 GB, free: 19.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.3508, allocations: 480.7 kB / 0.538 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.352, allocations: 0.7514 MB / 0.5388 GB, free: 18.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/0.355, allocations: 7.037 MB / 0.5456 GB, free: 8.773 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/0.3612, allocations: 8.524 MB / 0.554 GB, free: 13.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001854/0.3614, allocations: 48 kB / 0.554 GB, free: 13.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.011/0.3724, allocations: 6.575 MB / 0.5604 GB, free: 6.797 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.308e-05/0.3724, allocations: 72 kB / 0.5605 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000167/0.3726, allocations: 148 kB / 0.5606 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/0.3754, allocations: 1.371 MB / 0.562 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/0.3786, allocations: 1.571 MB / 0.5635 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008661/0.3872, allocations: 9.603 MB / 0.5729 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/0.3917, allocations: 472.5 kB / 0.5733 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008003/0.3925, allocations: 412 kB / 0.5737 GB, free: 8.664 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * 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 (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001889/0.3944, allocations: 0.7336 MB / 0.5744 GB, free: 7.918 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009102/0.3953, allocations: 461.3 kB / 0.5749 GB, free: 7.465 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/0.3986, allocations: 2.01 MB / 0.5769 GB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/0.3986, allocations: 24 kB / 0.5769 GB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.3987, allocations: 8 kB / 0.5769 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.3987, allocations: 7.969 kB / 0.5769 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.4113, allocations: 7.18 MB / 0.5839 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.4113, allocations: 8.906 kB / 0.5839 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006899/0.412, allocations: 283.6 kB / 0.5842 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002197/0.4142, allocations: 1.001 MB / 0.5852 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.4143, allocations: 46.88 kB / 0.5852 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006422/0.4207, allocations: 8.664 MB / 0.5937 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.4207, allocations: 15.94 kB / 0.5937 GB, free: 3.531 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00471/0.4254, allocations: 3.257 MB / 0.5969 GB, free: 112 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.4266, allocations: 421.1 kB / 0.5973 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/0.4269, allocations: 43.94 kB / 0.5973 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000908/0.4278, allocations: 146 kB / 0.5974 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.4281, allocations: 144.6 kB / 0.5976 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/0.4282, allocations: 55.94 kB / 0.5976 GB, free: 15.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002564/0.4308, allocations: 1.904 MB / 0.5995 GB, free: 13.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4308, allocations: 0 / 0.5995 GB, free: 13.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004835/0.4356, allocations: 1.268 MB / 0.6007 GB, free: 12.14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004459/0.4361, allocations: 200.8 kB / 0.6009 GB, free: 11.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006028/0.4421, allocations: 4.164 MB / 0.605 GB, free: 7.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.4421, allocations: 4 kB / 0.605 GB, free: 7.727 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.4438, allocations: 1.553 MB / 0.6065 GB, free: 6.105 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.4461, allocations: 0.5322 MB / 0.607 GB, free: 5.582 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1649/0.6109, allocations: 9.134 MB / 0.6159 GB, free: 132.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.6124, allocations: 1.504 MB / 0.6174 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00289/0.6153, allocations: 1.72 MB / 0.6191 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/0.6159, allocations: 270.4 kB / 0.6194 GB, free: 132.2 MB / 474.7 MB Notification: Performance of SimCode: time 3.135e-06/0.6159, allocations: 0 / 0.6194 GB, free: 132.2 MB / 474.7 MB Notification: Performance of Templates: time 0.06024/0.6761, allocations: 41.06 MB / 0.6595 GB, free: 122.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.707682786043733]