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.00182/0.00182, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001879/0.001879, allocations: 168.6 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.467/1.467, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] 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.2113/0.2113, allocations: 34.27 MB / 295.5 MB, free: 14.59 MB / 286.1 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 0.002085/0.002085, allocations: 75.88 kB / 443.1 MB, free: 6.715 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3148, allocations: 66.01 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01038/0.3252, allocations: 11.66 MB / 0.5086 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008373/0.3336, allocations: 4.598 MB / 0.5131 GB, free: 19.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.336, allocations: 108.9 kB / 0.5132 GB, free: 19.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006721/0.3427, allocations: 3.636 MB / 0.5167 GB, free: 17.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006256/0.349, allocations: 2.225 MB / 0.5189 GB, free: 16.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.3516, allocations: 1.081 MB / 0.52 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.3628, allocations: 6.665 MB / 0.5265 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005951/0.3688, allocations: 3.522 MB / 0.5299 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005522/0.3743, allocations: 2.06 MB / 0.5319 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006232/0.3805, allocations: 2.786 MB / 0.5347 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001783/0.3823, allocations: 432.4 kB / 0.5351 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.3861, allocations: 1.343 MB / 0.5364 GB, free: 9.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003263/0.3894, allocations: 2.526 MB / 0.5388 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003668/0.3931, allocations: 2.072 MB / 0.5409 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009581/0.4026, allocations: 8.833 MB / 0.5495 GB, free: 72 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4026, allocations: 0 / 0.5495 GB, free: 72 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4027, allocations: 0 / 0.5495 GB, free: 72 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003261/0.403, allocations: 0 / 0.5495 GB, free: 72 kB / 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.01829/0.4213, allocations: 6.326 MB / 0.5557 GB, free: 9.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4213, allocations: 8.031 kB / 0.5557 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.4339, allocations: 2.642 MB / 0.5583 GB, free: 7.023 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.4453, allocations: 3.887 MB / 0.5621 GB, free: 3.074 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.4457, allocations: 279.7 kB / 0.5623 GB, free: 2.801 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001803/0.4475, allocations: 403.6 kB / 0.5627 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02699/0.4745, allocations: 12.06 MB / 0.5745 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002195/0.4747, allocations: 63.52 kB / 0.5746 GB, free: 5.477 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006313/0.4753, allocations: 175.9 kB / 0.5747 GB, free: 5.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003693/0.479, allocations: 2.139 MB / 0.5768 GB, free: 3.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02295/0.502, allocations: 10.34 MB / 0.5869 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06731/0.5693, allocations: 43.77 MB / 0.6297 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01569/0.585, allocations: 5.31 MB / 0.6348 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004216/0.5892, allocations: 2.709 MB / 0.6375 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0164/0.6056, allocations: 7.784 MB / 0.6451 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.754e-05/0.6056, allocations: 59.81 kB / 0.6451 GB, free: 11.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 5.45e-06/0.6056, allocations: 0 / 0.6451 GB, free: 11.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.1368/0.7424, allocations: 36.08 MB / 0.6804 GB, free: 7.855 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.7426, allocations: 209.9 kB / 0.6806 GB, free: 7.605 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/0.753, allocations: 4.444 MB / 0.6849 GB, free: 3.141 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008504/0.7538, allocations: 61.7 kB / 0.685 GB, free: 3.074 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.2642/1.018, allocations: 3.694 MB / 0.6886 GB, free: 149.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.019, allocations: 1.018 MB / 0.6896 GB, free: 149.7 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002437/1.022, allocations: 1.431 MB / 0.691 GB, free: 149.6 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/1.022, allocations: 302.8 kB / 0.6913 GB, free: 149.3 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004988/1.027, allocations: 3.173 MB / 0.6944 GB, free: 148.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005592/1.032, allocations: 7.095 MB / 0.7013 GB, free: 141.8 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.044, allocations: 10.94 MB / 0.712 GB, free: 133.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001805/1.044, allocations: 38.5 kB / 0.712 GB, free: 133.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03476/1.079, allocations: 13.67 MB / 0.7254 GB, free: 128.9 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002723/1.079, allocations: 63.8 kB / 0.7254 GB, free: 128.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003706/1.079, allocations: 133.8 kB / 0.7256 GB, free: 128.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/1.093, allocations: 4.383 MB / 0.7298 GB, free: 128.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005464/1.098, allocations: 1.485 MB / 0.7313 GB, free: 127.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03465/1.133, allocations: 28.29 MB / 0.7589 GB, free: 110.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006078/1.139, allocations: 417.9 kB / 0.7593 GB, free: 110.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/1.14, allocations: 411.1 kB / 0.7597 GB, free: 110 MB / 0.5763 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.003823/1.144, allocations: 2.469 MB / 0.7621 GB, free: 107.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007785/1.145, allocations: 424.2 kB / 0.7625 GB, free: 107.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/1.16, allocations: 8.368 MB / 0.7707 GB, free: 99.61 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/1.16, allocations: 35.94 kB / 0.7707 GB, free: 99.57 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/1.16, allocations: 27.92 kB / 0.7708 GB, free: 99.54 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.78e-05/1.16, allocations: 7.969 kB / 0.7708 GB, free: 99.54 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02546/1.185, allocations: 15.19 MB / 0.7856 GB, free: 84.32 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.853e-05/1.185, allocations: 4.594 kB / 0.7856 GB, free: 84.32 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.187, allocations: 303.5 kB / 0.7859 GB, free: 84.02 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01011/1.197, allocations: 3.96 MB / 0.7898 GB, free: 80.05 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006903/1.198, allocations: 55.42 kB / 0.7898 GB, free: 80 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02941/1.227, allocations: 27.08 MB / 0.8163 GB, free: 52.61 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.227, allocations: 11.94 kB / 0.8163 GB, free: 52.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/1.246, allocations: 12.36 MB / 0.8283 GB, free: 40.11 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.247, allocations: 389.8 kB / 0.8287 GB, free: 39.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006429/1.248, allocations: 44 kB / 0.8288 GB, free: 39.69 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.25, allocations: 175.8 kB / 0.8289 GB, free: 39.52 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000654/1.25, allocations: 198 kB / 0.8291 GB, free: 39.32 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.25, allocations: 71.91 kB / 0.8292 GB, free: 39.26 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003222/1.254, allocations: 2.628 MB / 0.8317 GB, free: 36.62 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2e-07/1.254, allocations: 2.531 kB / 0.8317 GB, free: 36.62 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006232/1.26, allocations: 1.438 MB / 0.8332 GB, free: 35.19 MB / 0.5763 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.0005144/1.26, allocations: 189.3 kB / 0.8333 GB, free: 35.01 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01196/1.272, allocations: 8.142 MB / 0.8413 GB, free: 26.84 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.272, allocations: 192 / 0.8413 GB, free: 26.84 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004915/1.277, allocations: 3.325 MB / 0.8445 GB, free: 23.48 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/1.28, allocations: 0.5195 MB / 0.845 GB, free: 22.97 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/1.298, allocations: 12.65 MB / 0.8574 GB, free: 10.24 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004107/1.302, allocations: 3.409 MB / 0.8607 GB, free: 6.797 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003902/1.306, allocations: 1.945 MB / 0.8626 GB, free: 4.844 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007449/1.307, allocations: 264.5 kB / 0.8629 GB, free: 4.586 MB / 0.5763 GB Notification: Performance of SimCode: time 8.52e-07/1.307, allocations: 0 / 0.8629 GB, free: 4.586 MB / 0.5763 GB Notification: Performance of Templates: time 0.1171/1.424, allocations: 64.36 MB / 0.9257 GB, free: 4.664 MB / 0.6388 GB " [Timeout remaining time 658] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.168993578990921]