Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008783/0.0008782, allocations: 178.5 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 242.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007119/0.0007119, allocations: 85.27 kB / 293.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3304/0.3304, allocations: 44.15 MB / 388.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3205, allocations: 61.88 MB / 0.5107 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.4582, allocations: 109.3 MB / 0.6174 GB, free: 1.766 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.4586, allocations: 79.95 kB / 0.6175 GB, free: 1.691 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5124/0.971, allocations: 103.1 MB / 0.7182 GB, free: 95.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.9711, allocations: 3.938 kB / 0.7182 GB, free: 95.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005674/0.9717, allocations: 105.9 kB / 0.7183 GB, free: 95.61 MB / 490.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.02061/0.9923, allocations: 5.435 MB / 0.7236 GB, free: 93.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.9923, allocations: 8.344 kB / 0.7236 GB, free: 93.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02176/1.014, allocations: 5.212 MB / 0.7287 GB, free: 92.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01447/1.029, allocations: 5.94 MB / 0.7345 GB, free: 90.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004495/1.029, allocations: 379.4 kB / 0.7349 GB, free: 90.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00287/1.032, allocations: 0.5004 MB / 0.7354 GB, free: 89.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02879/1.061, allocations: 12.23 MB / 0.7473 GB, free: 83.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006362/1.062, allocations: 71.16 kB / 0.7474 GB, free: 83.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003032/1.065, allocations: 241.7 kB / 0.7476 GB, free: 83.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001779/1.066, allocations: 1.148 MB / 0.7487 GB, free: 83.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/1.086, allocations: 10.12 MB / 0.7586 GB, free: 79.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05419/1.14, allocations: 55.59 MB / 0.8129 GB, free: 29.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/1.152, allocations: 5.628 MB / 0.8184 GB, free: 23.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/1.155, allocations: 2.856 MB / 0.8212 GB, free: 20.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/1.166, allocations: 8.703 MB / 0.8297 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.167, allocations: 55.81 kB / 0.8297 GB, free: 12.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 5.12e-06/1.167, allocations: 4 kB / 0.8297 GB, free: 12.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.1247/1.291, allocations: 35.18 MB / 0.8641 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.291, allocations: 209.9 kB / 0.8643 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008232/1.3, allocations: 4.718 MB / 0.8689 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006221/1.3, allocations: 61.7 kB / 0.869 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002807/1.303, allocations: 3.604 MB / 0.8725 GB, free: 212 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.2853/1.588, allocations: 0.9668 MB / 0.8734 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007807/1.589, allocations: 135.7 kB / 0.8736 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003964/1.59, allocations: 0.5904 MB / 0.8741 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004991/1.595, allocations: 3.008 MB / 0.8771 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006108/1.601, allocations: 6.835 MB / 0.8837 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/1.613, allocations: 10.68 MB / 0.8942 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001462/1.613, allocations: 38.41 kB / 0.8942 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.0252/1.638, allocations: 13.08 MB / 0.907 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/1.638, allocations: 64.81 kB / 0.9071 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002139/1.638, allocations: 138.5 kB / 0.9072 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01203/1.65, allocations: 4.071 MB / 0.9112 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005792/1.656, allocations: 1.422 MB / 0.9125 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03374/1.69, allocations: 25.88 MB / 0.9378 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006326/1.696, allocations: 398 kB / 0.9382 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/1.698, allocations: 401.6 kB / 0.9386 GB, free: 89.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * 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 (763): * Single equations (assignments): 757 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.00548/1.704, allocations: 2.472 MB / 0.941 GB, free: 88.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009637/1.704, allocations: 443.7 kB / 0.9414 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/1.719, allocations: 8.116 MB / 0.9493 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.788e-05/1.719, allocations: 29.45 kB / 0.9494 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.24e-05/1.719, allocations: 12.62 kB / 0.9494 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.609e-05/1.719, allocations: 16.5 kB / 0.9494 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02885/1.748, allocations: 16.7 MB / 0.9657 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.731e-05/1.748, allocations: 3.625 kB / 0.9657 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.75, allocations: 298.5 kB / 0.966 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009373/1.759, allocations: 3.783 MB / 0.9697 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005464/1.76, allocations: 48 kB / 0.9697 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02642/1.786, allocations: 24.64 MB / 0.9938 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.786, allocations: 7.938 kB / 0.9938 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/1.804, allocations: 11.96 MB / 1.005 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.806, allocations: 498.9 kB / 1.006 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.807, allocations: 51.17 kB / 1.006 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.809, allocations: 166 kB / 1.006 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007742/1.81, allocations: 194.6 kB / 1.006 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.81, allocations: 69.17 kB / 1.006 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004877/1.815, allocations: 2.976 MB / 1.009 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.72e-07/1.815, allocations: 0 / 1.009 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007618/1.823, allocations: 1.431 MB / 1.011 GB, free: 40.96 MB / 0.5105 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 (161): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.000636/1.824, allocations: 196.6 kB / 1.011 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01204/1.836, allocations: 8.14 MB / 1.019 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.836, allocations: 8 kB / 1.019 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00514/1.841, allocations: 3.47 MB / 1.022 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007464/1.848, allocations: 0.5815 MB / 1.023 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/1.87, allocations: 14.38 MB / 1.037 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004321/1.875, allocations: 3.915 MB / 1.041 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00498/1.88, allocations: 2.029 MB / 1.043 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/1.881, allocations: 283.3 kB / 1.043 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/1.881, allocations: 4 kB / 1.043 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.3732/2.254, allocations: 66.23 MB / 1.108 GB, free: 128.5 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches