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.001631/0.001631, allocations: 72.7 kB / 19.93 MB, free: 1.77 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.002594/0.002594, allocations: 171.3 kB / 23.22 MB, free: 4.887 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.668/1.668, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.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.2503/0.2503, allocations: 32.37 MB / 269.6 MB, free: 4.664 MB / 254.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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 407.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.899e-05, allocations: 2.281 kB / 407.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01594/0.01597, allocations: 11.77 MB / 419.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.02949, allocations: 4.603 MB / 423.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004557/0.03405, allocations: 119.4 kB / 423.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0087/0.04275, allocations: 3.835 MB / 427.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007739/0.05049, allocations: 2.328 MB / 430 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.05376, allocations: 1.193 MB / 431.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01132/0.06508, allocations: 7.173 MB / 438.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006578/0.07166, allocations: 4.312 MB / 442.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006373/0.07803, allocations: 3.2 MB / 445.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005806/0.08384, allocations: 3.172 MB / 449 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00125/0.08509, allocations: 444 kB / 449.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.08839, allocations: 1.412 MB / 450.9 MB, free: 7.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00323/0.09162, allocations: 2.696 MB / 453.6 MB, free: 4.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003162/0.09478, allocations: 1.671 MB / 455.3 MB, free: 2.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.1099, allocations: 9.011 MB / 464.3 MB, free: 9.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.1099, allocations: 4 kB / 464.3 MB, free: 9.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1099, allocations: 0 / 464.3 MB, free: 9.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004091/0.1103, allocations: 0 / 464.3 MB, free: 9.852 MB / 398.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.02262/0.1329, allocations: 6.455 MB / 470.7 MB, free: 3.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/0.133, allocations: 12.03 kB / 470.7 MB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.1461, allocations: 2.638 MB / 473.4 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2872/0.4333, allocations: 3.946 MB / 477.3 MB, free: 65.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.4336, allocations: 284.9 kB / 477.6 MB, free: 64.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/0.435, allocations: 383.7 kB / 478 MB, free: 64.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/0.4653, allocations: 12.06 MB / 490 MB, free: 59.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/0.4655, allocations: 65.06 kB / 490.1 MB, free: 59.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005925/0.4661, allocations: 178.3 kB / 490.3 MB, free: 59.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003536/0.4696, allocations: 2.144 MB / 492.4 MB, free: 58.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02017/0.4898, allocations: 10.35 MB / 0.491 GB, free: 51.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05609/0.5459, allocations: 44.11 MB / 0.5341 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.5592, allocations: 5.294 MB / 0.5392 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003879/0.5631, allocations: 2.689 MB / 0.5419 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01634/0.5794, allocations: 8.05 MB / 0.5497 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.045e-05/0.5795, allocations: 63.75 kB / 0.5498 GB, free: 6.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=206): time 6.022e-06/0.5795, allocations: 0 / 0.5498 GB, free: 6.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=262): time 0.14/0.7195, allocations: 36.35 MB / 0.5853 GB, free: 1.969 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.7196, allocations: 209.9 kB / 0.5855 GB, free: 1.723 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008461/0.7281, allocations: 4.797 MB / 0.5902 GB, free: 12.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007489/0.7288, allocations: 69.69 kB / 0.5902 GB, free: 12.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004028/0.7329, allocations: 3.672 MB / 0.5938 GB, free: 9.113 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002804/0.7357, allocations: 0.9998 MB / 0.5948 GB, free: 8.105 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003363/0.739, allocations: 1.421 MB / 0.5962 GB, free: 6.676 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.7392, allocations: 301.1 kB / 0.5965 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008195/0.7474, allocations: 3.168 MB / 0.5996 GB, free: 3.207 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01388/0.7613, allocations: 7.09 MB / 0.6065 GB, free: 10.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02368/0.785, allocations: 10.94 MB / 0.6172 GB, free: 13.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002039/0.7852, allocations: 43.94 kB / 0.6172 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0491/0.8343, allocations: 13.68 MB / 0.6306 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.8344, allocations: 64 kB / 0.6306 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002821/0.8347, allocations: 132 kB / 0.6308 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02044/0.8552, allocations: 4.391 MB / 0.635 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008905/0.8641, allocations: 1.478 MB / 0.6365 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3864/1.251, allocations: 28.31 MB / 0.6641 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01068/1.261, allocations: 0.5 MB / 0.6646 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002258/1.263, allocations: 410 kB / 0.665 GB, free: 165.2 MB / 0.5137 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.007958/1.271, allocations: 2.479 MB / 0.6674 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002228/1.274, allocations: 420.1 kB / 0.6678 GB, free: 165 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0291/1.303, allocations: 8.38 MB / 0.676 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/1.303, allocations: 27.25 kB / 0.676 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.354e-05/1.303, allocations: 12.44 kB / 0.6761 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.681e-05/1.303, allocations: 12.56 kB / 0.6761 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04637/1.349, allocations: 15.36 MB / 0.6911 GB, free: 157 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-05/1.349, allocations: 10.62 kB / 0.6911 GB, free: 157 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/1.352, allocations: 306.1 kB / 0.6914 GB, free: 157 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0165/1.368, allocations: 3.959 MB / 0.6952 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006909/1.369, allocations: 46.59 kB / 0.6953 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05083/1.42, allocations: 27.12 MB / 0.7218 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.42, allocations: 4 kB / 0.7218 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02955/1.449, allocations: 12.34 MB / 0.7338 GB, free: 122.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003719/1.453, allocations: 0.9262 MB / 0.7347 GB, free: 121.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002077/1.455, allocations: 50.25 kB / 0.7348 GB, free: 121.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004446/1.46, allocations: 247.6 kB / 0.735 GB, free: 121.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/1.461, allocations: 208.9 kB / 0.7352 GB, free: 121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004261/1.461, allocations: 71.75 kB / 0.7353 GB, free: 120.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006006/1.467, allocations: 2.887 MB / 0.7381 GB, free: 118 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.467, allocations: 2 kB / 0.7381 GB, free: 118 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0101/1.477, allocations: 1.618 MB / 0.7397 GB, free: 116.4 MB / 0.5137 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.001484/1.479, allocations: 205.9 kB / 0.7399 GB, free: 116.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01594/1.495, allocations: 8.158 MB / 0.7478 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/1.495, allocations: 3.938 kB / 0.7478 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006185/1.501, allocations: 3.316 MB / 0.7511 GB, free: 104.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006961/1.508, allocations: 0.5174 MB / 0.7516 GB, free: 104.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/1.534, allocations: 12.65 MB / 0.7639 GB, free: 91.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004239/1.538, allocations: 3.414 MB / 0.7673 GB, free: 88.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004391/1.543, allocations: 1.973 MB / 0.7692 GB, free: 86.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.544, allocations: 272.4 kB / 0.7695 GB, free: 85.86 MB / 0.5137 GB Notification: Performance of SimCode: time 2.074e-06/1.544, allocations: 0 / 0.7695 GB, free: 85.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.1038/1.648, allocations: 67.2 MB / 0.8351 GB, free: 18.6 MB / 0.5137 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: 9.040366787463427]