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.001755/0.001755, allocations: 75.77 kB / 20.51 MB, free: 1.121 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.002006/0.002006, allocations: 167.3 kB / 23.76 MB, free: 4.195 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.404/1.404, allocations: 158.6 MB / 185.5 MB, free: 6.129 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.2068/0.2068, allocations: 32.38 MB / 270.1 MB, free: 2.711 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: 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.002296/0.002296, allocations: 75.91 kB / 407.8 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1443, allocations: 61.04 MB / 468.8 MB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2975/0.4417, allocations: 11.75 MB / 480.5 MB, free: 43.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00958/0.4513, allocations: 4.609 MB / 485.1 MB, free: 42.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.454, allocations: 113.2 kB / 485.3 MB, free: 42.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006169/0.4602, allocations: 3.65 MB / 488.9 MB, free: 40.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006277/0.4665, allocations: 2.263 MB / 491.2 MB, free: 39.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.4692, allocations: 1.082 MB / 492.2 MB, free: 39.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008337/0.4775, allocations: 6.201 MB / 498.4 MB, free: 36.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004184/0.4817, allocations: 3.557 MB / 0.4902 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003421/0.4851, allocations: 2.08 MB / 0.4923 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004606/0.4897, allocations: 2.809 MB / 0.495 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001623/0.4913, allocations: 433.9 kB / 0.4954 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.495, allocations: 1.354 MB / 0.4968 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004115/0.4991, allocations: 2.543 MB / 0.4992 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005953/0.5051, allocations: 2.092 MB / 0.5013 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01809/0.5232, allocations: 8.9 MB / 0.51 GB, free: 27.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.5232, allocations: 3.938 kB / 0.51 GB, free: 27.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5232, allocations: 1.125 kB / 0.51 GB, free: 27.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003816/0.5236, allocations: 4 kB / 0.51 GB, free: 27.64 MB / 446.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.02082/0.5444, allocations: 6.349 MB / 0.5162 GB, free: 23.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.5444, allocations: 9.312 kB / 0.5162 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.5565, allocations: 2.646 MB / 0.5188 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.5675, allocations: 4.068 MB / 0.5227 GB, free: 19.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.5677, allocations: 286.7 kB / 0.523 GB, free: 19.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.5688, allocations: 390.9 kB / 0.5234 GB, free: 19.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02339/0.5922, allocations: 12.06 MB / 0.5352 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/0.5923, allocations: 67.52 kB / 0.5352 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005724/0.5929, allocations: 179.8 kB / 0.5354 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002763/0.5957, allocations: 2.139 MB / 0.5375 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/0.618, allocations: 10.34 MB / 0.5476 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07804/0.6961, allocations: 43.82 MB / 0.5904 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01562/0.7117, allocations: 5.291 MB / 0.5955 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004218/0.7159, allocations: 2.692 MB / 0.5982 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01586/0.7318, allocations: 7.785 MB / 0.6058 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/0.7318, allocations: 63.81 kB / 0.6058 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=206): time 6.552e-06/0.7318, allocations: 0 / 0.6058 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=262): time 0.1381/0.8699, allocations: 36.17 MB / 0.6412 GB, free: 11.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001971/0.8701, allocations: 209.9 kB / 0.6414 GB, free: 11.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/0.8813, allocations: 4.481 MB / 0.6457 GB, free: 6.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000781/0.8821, allocations: 65.64 kB / 0.6458 GB, free: 6.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004072/0.8862, allocations: 3.695 MB / 0.6494 GB, free: 2.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001818/0.888, allocations: 1.019 MB / 0.6504 GB, free: 1.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003472/0.8915, allocations: 1.433 MB / 0.6518 GB, free: 308 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8916, allocations: 301.1 kB / 0.6521 GB, free: 4 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005056/0.8967, allocations: 3.176 MB / 0.6552 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009441/0.9061, allocations: 7.09 MB / 0.6621 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01834/0.9244, allocations: 10.95 MB / 0.6728 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001463/0.9246, allocations: 36 kB / 0.6728 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03205/0.9566, allocations: 13.68 MB / 0.6862 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.9568, allocations: 64 kB / 0.6863 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002633/0.9571, allocations: 136 kB / 0.6864 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01409/0.9712, allocations: 4.376 MB / 0.6907 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005993/0.9772, allocations: 1.478 MB / 0.6921 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3371/1.314, allocations: 28.28 MB / 0.7197 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007899/1.322, allocations: 409 kB / 0.7201 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00225/1.324, allocations: 409.2 kB / 0.7205 GB, free: 171.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.007257/1.332, allocations: 2.48 MB / 0.7229 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.333, allocations: 421.6 kB / 0.7233 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01821/1.351, allocations: 8.382 MB / 0.7315 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/1.351, allocations: 26.62 kB / 0.7315 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.171e-05/1.351, allocations: 13.44 kB / 0.7315 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/1.351, allocations: 15.05 kB / 0.7316 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03924/1.391, allocations: 15.21 MB / 0.7464 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-05/1.391, allocations: 7.656 kB / 0.7464 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.392, allocations: 303.4 kB / 0.7467 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01013/1.402, allocations: 3.962 MB / 0.7506 GB, free: 161 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004766/1.403, allocations: 54.7 kB / 0.7506 GB, free: 161 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03071/1.434, allocations: 27.08 MB / 0.7771 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.434, allocations: 4 kB / 0.7771 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/1.454, allocations: 12.36 MB / 0.7892 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004475/1.458, allocations: 0.8546 MB / 0.79 GB, free: 127.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001404/1.46, allocations: 58.8 kB / 0.79 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/1.462, allocations: 167.8 kB / 0.7902 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000804/1.463, allocations: 205.9 kB / 0.7904 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/1.463, allocations: 70.38 kB / 0.7905 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003803/1.467, allocations: 2.645 MB / 0.7931 GB, free: 124.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.467, allocations: 0 / 0.7931 GB, free: 124.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007521/1.475, allocations: 1.46 MB / 0.7945 GB, free: 123.2 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.0005656/1.475, allocations: 181 kB / 0.7947 GB, free: 123 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.487, allocations: 8.149 MB / 0.8026 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/1.487, allocations: 0 / 0.8026 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004998/1.492, allocations: 3.32 MB / 0.8059 GB, free: 111.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/1.496, allocations: 0.5179 MB / 0.8064 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/1.515, allocations: 12.7 MB / 0.8188 GB, free: 98.28 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003899/1.519, allocations: 3.414 MB / 0.8221 GB, free: 94.85 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004055/1.523, allocations: 1.957 MB / 0.824 GB, free: 92.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007057/1.524, allocations: 260.5 kB / 0.8243 GB, free: 92.63 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/1.524, allocations: 4 kB / 0.8243 GB, free: 92.62 MB / 0.5919 GB Notification: Performance of Templates: time 0.09888/1.623, allocations: 64.49 MB / 0.8872 GB, free: 28.07 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/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.17904636298772]