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.001132/0.001132, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001535/0.001535, allocations: 169.3 kB / 24.24 MB, free: 312 kB / 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 0.9681/0.9681, allocations: 158.6 MB / 186 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] 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.1239/0.1239, allocations: 32.36 MB / 270.7 MB, free: 14.78 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 1.974e-06/1.974e-06, allocations: 0 / 347.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.286e-05, allocations: 14.19 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.009023/0.009046, allocations: 13 MB / 360.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00809/0.01714, allocations: 4.728 MB / 365.4 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.01867, allocations: 115.4 kB / 365.5 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003902/0.02257, allocations: 4.014 MB / 369.5 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.02661, allocations: 2.336 MB / 371.9 MB, free: 1.488 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.02835, allocations: 1.205 MB / 373.1 MB, free: 288 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006387/0.03474, allocations: 7.158 MB / 380.2 MB, free: 9.109 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003661/0.0384, allocations: 4.462 MB / 384.7 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/0.04215, allocations: 3.22 MB / 387.9 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.04494, allocations: 3.25 MB / 391.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005135/0.04545, allocations: 444 kB / 391.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.04711, allocations: 1.416 MB / 393 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.04905, allocations: 2.7 MB / 395.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.05042, allocations: 1.686 MB / 397.4 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004794/0.05521, allocations: 5.863 MB / 403.3 MB, free: 1.961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.05522, allocations: 3.938 kB / 403.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.05522, allocations: 0 / 403.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.773e-05/0.0553, allocations: 0 / 403.3 MB, free: 1.957 MB / 330.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.008169/0.06346, allocations: 6.869 MB / 410.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.06351, allocations: 8.031 kB / 410.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006415/0.06993, allocations: 3.087 MB / 413.2 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004472/0.0744, allocations: 3.503 MB / 416.7 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.07456, allocations: 279.7 kB / 417 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004575/0.07502, allocations: 392.1 kB / 417.4 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008879/0.08389, allocations: 7.327 MB / 424.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.08401, allocations: 51.59 kB / 424.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003272/0.08433, allocations: 179.8 kB / 424.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001954/0.08629, allocations: 2.143 MB / 427.1 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007481/0.09377, allocations: 4.135 MB / 431.2 MB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1951/0.2888, allocations: 50 MB / 481.2 MB, free: 63.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006722/0.2956, allocations: 3.181 MB / 484.4 MB, free: 63.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.2966, allocations: 0.9058 MB / 485.3 MB, free: 63.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00572/0.3023, allocations: 5.631 MB / 490.9 MB, free: 60.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3023, allocations: 56.02 kB / 491 MB, free: 60.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=206): time 3.667e-06/0.3024, allocations: 0 / 491 MB, free: 60.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=262): time 0.05347/0.3558, allocations: 27.21 MB / 0.5061 GB, free: 36.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.3559, allocations: 209.5 kB / 0.5063 GB, free: 36.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/0.3593, allocations: 4.109 MB / 0.5103 GB, free: 32.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.3595, allocations: 65.7 kB / 0.5103 GB, free: 32.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.3608, allocations: 3.866 MB / 0.5141 GB, free: 28.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006227/0.3614, allocations: 1.044 MB / 0.5151 GB, free: 27.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.3626, allocations: 1.512 MB / 0.5166 GB, free: 26.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.3627, allocations: 480.8 kB / 0.5171 GB, free: 25.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.3641, allocations: 1.001 MB / 0.518 GB, free: 24.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002898/0.367, allocations: 6.765 MB / 0.5246 GB, free: 15.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005852/0.3728, allocations: 8.515 MB / 0.533 GB, free: 4.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-05/0.3729, allocations: 39.94 kB / 0.533 GB, free: 4.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01311/0.386, allocations: 8.532 MB / 0.5413 GB, free: 11.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/0.3861, allocations: 64 kB / 0.5414 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/0.3862, allocations: 136 kB / 0.5415 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007632/0.3938, allocations: 3.626 MB / 0.5451 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/0.3965, allocations: 1.474 MB / 0.5465 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/0.4134, allocations: 13.37 MB / 0.5596 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/0.4173, allocations: 0.4993 MB / 0.56 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005267/0.4178, allocations: 408 kB / 0.5604 GB, free: 7.93 MB / 410.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.001892/0.4197, allocations: 0.7115 MB / 0.5611 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008343/0.4205, allocations: 489.2 kB / 0.5616 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008093/0.4286, allocations: 4.535 MB / 0.566 GB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.4287, allocations: 32 kB / 0.5661 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.771e-05/0.4287, allocations: 12 kB / 0.5661 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.4287, allocations: 15.95 kB / 0.5661 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.4447, allocations: 10.44 MB / 0.5763 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.4447, allocations: 4.594 kB / 0.5763 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/0.4455, allocations: 307.5 kB / 0.5766 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006456/0.4519, allocations: 3.229 MB / 0.5797 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/0.4521, allocations: 55.98 kB / 0.5798 GB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/0.4668, allocations: 12.47 MB / 0.592 GB, free: 7.125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.4669, allocations: 4 kB / 0.592 GB, free: 7.121 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.4774, allocations: 5.906 MB / 0.5977 GB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/0.4795, allocations: 0.8639 MB / 0.5986 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004603/0.4799, allocations: 44 kB / 0.5986 GB, free: 136 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.4813, allocations: 251.6 kB / 0.5989 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006391/0.4819, allocations: 205.9 kB / 0.599 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.4821, allocations: 71.67 kB / 0.5991 GB, free: 15.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002637/0.4847, allocations: 1.849 MB / 0.6009 GB, free: 13.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4847, allocations: 0 / 0.6009 GB, free: 13.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00512/0.4898, allocations: 1.617 MB / 0.6025 GB, free: 12.15 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.0004643/0.4903, allocations: 206.6 kB / 0.6027 GB, free: 11.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008016/0.4983, allocations: 5.121 MB / 0.6077 GB, free: 6.781 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.4983, allocations: 0 / 0.6077 GB, free: 6.781 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002906/0.5012, allocations: 2.219 MB / 0.6099 GB, free: 4.508 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.5033, allocations: 0.537 MB / 0.6104 GB, free: 3.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1504/0.6537, allocations: 9.988 MB / 0.6201 GB, free: 161.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.6556, allocations: 1.583 MB / 0.6217 GB, free: 161.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003302/0.6589, allocations: 1.677 MB / 0.6233 GB, free: 161.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/0.6595, allocations: 278.8 kB / 0.6236 GB, free: 161.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.253e-06/0.6595, allocations: 0 / 0.6236 GB, free: 161.2 MB / 458.7 MB Notification: Performance of Templates: time 0.08069/0.7402, allocations: 68.52 MB / 0.6905 GB, free: 102.5 MB / 458.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","",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.9594597208779305]