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.001945/0.001945, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002379/0.002379, allocations: 210.7 kB / 22.99 MB, free: 4.602 MB / 14.72 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 1.688/1.688, allocations: 207.7 MB / 233.8 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.2317/0.2317, allocations: 44.26 MB / 330.3 MB, free: 9.324 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 74.72 kB / 468 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.138, allocations: 61.04 MB / 0.5166 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01592/0.1539, allocations: 11.74 MB / 0.5281 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.1645, allocations: 4.608 MB / 0.5326 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.1668, allocations: 111.4 kB / 0.5327 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007914/0.1747, allocations: 3.652 MB / 0.5363 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006363/0.181, allocations: 2.276 MB / 0.5385 GB, free: 212 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3063/0.4873, allocations: 1.077 MB / 0.5395 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01374/0.5011, allocations: 6.196 MB / 0.5456 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006074/0.5071, allocations: 3.552 MB / 0.5491 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005132/0.5123, allocations: 2.084 MB / 0.5511 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007333/0.5196, allocations: 2.802 MB / 0.5538 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00268/0.5223, allocations: 429.7 kB / 0.5542 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005883/0.5282, allocations: 1.353 MB / 0.5556 GB, free: 9.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005948/0.5341, allocations: 2.547 MB / 0.5581 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01151/0.5456, allocations: 2.091 MB / 0.5601 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01809/0.5637, allocations: 8.9 MB / 0.5688 GB, free: 3.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5637, allocations: 1.125 kB / 0.5688 GB, free: 3.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5637, allocations: 0 / 0.5688 GB, free: 3.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005896/0.5643, allocations: 0 / 0.5688 GB, free: 3.438 MB / 414.1 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.03011/0.5944, allocations: 6.34 MB / 0.575 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5945, allocations: 9.031 kB / 0.575 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/0.6084, allocations: 2.565 MB / 0.5775 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/0.6228, allocations: 4.083 MB / 0.5815 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003962/0.6232, allocations: 283.2 kB / 0.5818 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002395/0.6256, allocations: 390.8 kB / 0.5821 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03361/0.6592, allocations: 12.06 MB / 0.5939 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003564/0.6595, allocations: 63.14 kB / 0.594 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002222/0.6617, allocations: 178.1 kB / 0.5941 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004257/0.666, allocations: 2.144 MB / 0.5962 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/0.6928, allocations: 10.33 MB / 0.6063 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08002/0.7728, allocations: 43.67 MB / 0.649 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/0.7888, allocations: 5.134 MB / 0.654 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004764/0.7936, allocations: 2.685 MB / 0.6566 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01965/0.8133, allocations: 7.752 MB / 0.6642 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.24e-05/0.8133, allocations: 51.88 kB / 0.6642 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=206): time 6.973e-06/0.8134, allocations: 4 kB / 0.6642 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262): time 0.1432/0.9565, allocations: 35.15 MB / 0.6985 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002044/0.9567, allocations: 209.9 kB / 0.6987 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/0.9685, allocations: 4.481 MB / 0.7031 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009291/0.9694, allocations: 65.7 kB / 0.7032 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004794/0.9742, allocations: 3.705 MB / 0.7068 GB, free: 12.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002375/0.9766, allocations: 1.016 MB / 0.7078 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005635/0.9822, allocations: 1.434 MB / 0.7092 GB, free: 10.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.9824, allocations: 308.5 kB / 0.7095 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006815/0.9892, allocations: 3.172 MB / 0.7126 GB, free: 7.039 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01132/1.001, allocations: 7.09 MB / 0.7195 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01785/1.018, allocations: 10.95 MB / 0.7302 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002181/1.019, allocations: 36 kB / 0.7302 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03727/1.056, allocations: 13.67 MB / 0.7436 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002407/1.056, allocations: 64.94 kB / 0.7436 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003655/1.056, allocations: 141.4 kB / 0.7438 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0147/1.071, allocations: 4.384 MB / 0.7481 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006133/1.077, allocations: 1.482 MB / 0.7495 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3531/1.43, allocations: 28.26 MB / 0.7771 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007214/1.438, allocations: 420.4 kB / 0.7775 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001944/1.439, allocations: 412.8 kB / 0.7779 GB, free: 184.1 MB / 0.5919 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.006603/1.446, allocations: 2.476 MB / 0.7803 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/1.447, allocations: 415.5 kB / 0.7807 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01974/1.467, allocations: 8.386 MB / 0.7889 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/1.467, allocations: 28.47 kB / 0.7889 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-05/1.467, allocations: 14.09 kB / 0.7889 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.319e-05/1.467, allocations: 15.09 kB / 0.789 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03214/1.5, allocations: 15.17 MB / 0.8038 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.708e-05/1.5, allocations: 3.812 kB / 0.8038 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.501, allocations: 303 kB / 0.8041 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01048/1.512, allocations: 3.966 MB / 0.8079 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006736/1.512, allocations: 50.5 kB / 0.808 GB, free: 174 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03206/1.544, allocations: 27.09 MB / 0.8344 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.544, allocations: 11.94 kB / 0.8345 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/1.564, allocations: 12.36 MB / 0.8465 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003769/1.568, allocations: 0.8547 MB / 0.8474 GB, free: 138 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/1.569, allocations: 53.62 kB / 0.8474 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/1.573, allocations: 167.8 kB / 0.8476 GB, free: 137.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008334/1.573, allocations: 206.6 kB / 0.8478 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.574, allocations: 74.92 kB / 0.8478 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004597/1.578, allocations: 2.641 MB / 0.8504 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/1.578, allocations: 1.969 kB / 0.8504 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009979/1.588, allocations: 1.463 MB / 0.8519 GB, free: 133.4 MB / 0.5919 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.001011/1.589, allocations: 186.5 kB / 0.852 GB, free: 133.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.603, allocations: 8.134 MB / 0.86 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/1.603, allocations: 4.5 kB / 0.86 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005249/1.608, allocations: 3.325 MB / 0.8632 GB, free: 121.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005987/1.614, allocations: 0.5117 MB / 0.8637 GB, free: 121.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02203/1.636, allocations: 12.71 MB / 0.8761 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003957/1.64, allocations: 3.408 MB / 0.8795 GB, free: 105 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004319/1.644, allocations: 1.959 MB / 0.8814 GB, free: 103.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007778/1.645, allocations: 260.7 kB / 0.8816 GB, free: 102.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/1.645, allocations: 0 / 0.8816 GB, free: 102.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1133/1.758, allocations: 70.27 MB / 0.9503 GB, free: 32.46 MB / 0.5919 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.777540927752852]