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.0009382/0.0009382, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.0009954/0.0009954, allocations: 165.4 kB / 24.56 MB, free: 8 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.9587/0.9587, allocations: 177.2 MB / 205 MB, free: 5.281 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.2843/0.2843, allocations: 34.26 MB / 295.7 MB, free: 0.7266 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.973e-06/1.973e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.286e-05, allocations: 2.312 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01389/0.01392, allocations: 12.96 MB / 391 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008019/0.02194, allocations: 4.739 MB / 395.7 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.0237, allocations: 115.4 kB / 395.8 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0041/0.0278, allocations: 4.007 MB / 399.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.03214, allocations: 2.302 MB / 402.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.03392, allocations: 1.193 MB / 403.3 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007086/0.04101, allocations: 7.71 MB / 411 MB, free: 1.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004519/0.04553, allocations: 4.439 MB / 415.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004375/0.0499, allocations: 3.185 MB / 418.7 MB, free: 9.848 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003608/0.05351, allocations: 3.227 MB / 421.9 MB, free: 6.613 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007734/0.05428, allocations: 444 kB / 422.3 MB, free: 6.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.05636, allocations: 1.4 MB / 423.7 MB, free: 4.777 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001847/0.0582, allocations: 2.677 MB / 426.4 MB, free: 2.094 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.05999, allocations: 1.667 MB / 428.1 MB, free: 432 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.06589, allocations: 5.796 MB / 433.9 MB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.06589, allocations: 0 / 433.9 MB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.06589, allocations: 4 kB / 433.9 MB, free: 10.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001646/0.06606, allocations: 0 / 433.9 MB, free: 10.6 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.01024/0.0763, allocations: 6.854 MB / 440.7 MB, free: 3.676 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.07634, allocations: 8.031 kB / 440.7 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006699/0.08304, allocations: 3.087 MB / 443.8 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1726/0.2557, allocations: 3.452 MB / 447.3 MB, free: 91.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.2559, allocations: 280 kB / 447.5 MB, free: 91.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008751/0.2568, allocations: 388 kB / 447.9 MB, free: 91.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/0.2681, allocations: 7.341 MB / 455.3 MB, free: 88.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.2683, allocations: 54.39 kB / 455.3 MB, free: 88.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003557/0.2686, allocations: 177.3 kB / 455.5 MB, free: 88.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001911/0.2706, allocations: 2.144 MB / 457.6 MB, free: 88.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009623/0.2802, allocations: 4.129 MB / 461.8 MB, free: 88.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03598/0.3162, allocations: 49.96 MB / 0.4997 GB, free: 47.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007874/0.324, allocations: 3.19 MB / 0.5029 GB, free: 47.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.3255, allocations: 0.9032 MB / 0.5037 GB, free: 47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00831/0.3338, allocations: 5.618 MB / 0.5092 GB, free: 43.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.3339, allocations: 58.61 kB / 0.5093 GB, free: 43.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 5.491e-06/0.3339, allocations: 4 kB / 0.5093 GB, free: 43.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=262): time 0.07075/0.4046, allocations: 27.11 MB / 0.5358 GB, free: 21.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.4047, allocations: 221.8 kB / 0.536 GB, free: 21.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/0.4087, allocations: 4.067 MB / 0.5399 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004653/0.4092, allocations: 65.7 kB / 0.54 GB, free: 17.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.4106, allocations: 3.86 MB / 0.5438 GB, free: 13.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007572/0.4113, allocations: 1.048 MB / 0.5448 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.4125, allocations: 1.514 MB / 0.5463 GB, free: 10.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.132e-05/0.4126, allocations: 476.8 kB / 0.5467 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.414, allocations: 1.001 MB / 0.5477 GB, free: 9.449 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002771/0.4168, allocations: 6.756 MB / 0.5543 GB, free: 100 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007443/0.4242, allocations: 8.529 MB / 0.5626 GB, free: 5.027 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/0.4243, allocations: 40 kB / 0.5627 GB, free: 4.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01493/0.4393, allocations: 8.527 MB / 0.571 GB, free: 12.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.399e-05/0.4393, allocations: 64 kB / 0.5711 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.4395, allocations: 132 kB / 0.5712 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007779/0.4472, allocations: 3.636 MB / 0.5747 GB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/0.4505, allocations: 1.474 MB / 0.5762 GB, free: 7.117 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/0.4668, allocations: 13.38 MB / 0.5892 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/0.4708, allocations: 491.4 kB / 0.5897 GB, free: 8.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007548/0.4716, allocations: 414.1 kB / 0.5901 GB, free: 8.527 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.00171/0.4733, allocations: 0.7003 MB / 0.5908 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/0.4745, allocations: 493.2 kB / 0.5913 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/0.4873, allocations: 4.543 MB / 0.5957 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001085/0.4874, allocations: 31.67 kB / 0.5957 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-05/0.4874, allocations: 12 kB / 0.5957 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.225e-05/0.4875, allocations: 11.95 kB / 0.5957 GB, free: 2.699 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2008/0.6883, allocations: 10.39 MB / 0.6059 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/0.6883, allocations: 5.781 kB / 0.6059 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/0.6892, allocations: 296.7 kB / 0.6062 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006458/0.6957, allocations: 3.234 MB / 0.6093 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003204/0.696, allocations: 50.53 kB / 0.6094 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.709, allocations: 12.48 MB / 0.6216 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.7091, allocations: 13.69 kB / 0.6216 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009561/0.7186, allocations: 5.895 MB / 0.6273 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.7199, allocations: 432 kB / 0.6278 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/0.7203, allocations: 45.31 kB / 0.6278 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.7216, allocations: 240.6 kB / 0.628 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005785/0.7222, allocations: 205.4 kB / 0.6282 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.7224, allocations: 69.91 kB / 0.6283 GB, free: 109.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002372/0.7247, allocations: 1.814 MB / 0.6301 GB, free: 108.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7247, allocations: 0 / 0.6301 GB, free: 108.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006013/0.7307, allocations: 1.592 MB / 0.6316 GB, free: 108.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.0005965/0.7313, allocations: 204.9 kB / 0.6318 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008514/0.7398, allocations: 5.12 MB / 0.6368 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.7399, allocations: 5.438 kB / 0.6368 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003492/0.7433, allocations: 2.208 MB / 0.639 GB, free: 105.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.7463, allocations: 0.5387 MB / 0.6395 GB, free: 105.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.7617, allocations: 9.957 MB / 0.6492 GB, free: 100.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/0.764, allocations: 1.577 MB / 0.6508 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002874/0.7669, allocations: 1.674 MB / 0.6524 GB, free: 100.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/0.7675, allocations: 269.8 kB / 0.6527 GB, free: 100.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/0.7675, allocations: 0 / 0.6527 GB, free: 100.2 MB / 458.7 MB Notification: Performance of Templates: time 0.07559/0.8431, allocations: 67.91 MB / 0.719 GB, free: 38.36 MB / 458.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: 5.172543067019433]