Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 179.7 kB / 14.15 MB, free: 1.176 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.226/1.226, allocations: 221.3 MB / 236 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007847/0.0007848, allocations: 91.8 kB / 287 MB, free: 220 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.173/0.173, allocations: 44.16 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.325e-05, allocations: 4.219 kB / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3932/0.5117, allocations: 118.2 MB / 0.6171 GB, free: 3.039 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.5119, allocations: 75.97 kB / 0.6172 GB, free: 2.965 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6182/1.13, allocations: 156.5 MB / 0.77 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/1.13, allocations: 0 / 0.77 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000307/1.13, allocations: 130.8 kB / 0.7702 GB, free: 118.7 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02093/1.151, allocations: 6.532 MB / 0.7765 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.151, allocations: 6.906 kB / 0.7766 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02691/1.178, allocations: 6.683 MB / 0.7831 GB, free: 115 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/1.197, allocations: 7.938 MB / 0.7908 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005753/1.197, allocations: 0.5307 MB / 0.7913 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003722/1.201, allocations: 0.7065 MB / 0.792 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03759/1.239, allocations: 18.68 MB / 0.8103 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000291/1.239, allocations: 79.27 kB / 0.8104 GB, free: 96.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001781/1.241, allocations: 341.7 kB / 0.8107 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001816/1.243, allocations: 1.716 MB / 0.8124 GB, free: 94.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02847/1.271, allocations: 16.24 MB / 0.8282 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07073/1.342, allocations: 74.12 MB / 0.9006 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/1.356, allocations: 6.103 MB / 0.9066 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00392/1.36, allocations: 2.72 MB / 0.9092 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3091/1.669, allocations: 13.86 MB / 0.9228 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.438e-05/1.669, allocations: 63.14 kB / 0.9228 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=284): time 9.738e-06/1.669, allocations: 0 / 0.9228 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=344): time 0.0577/1.727, allocations: 19.17 MB / 0.9415 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/1.727, allocations: 185.2 kB / 0.9417 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00692/1.734, allocations: 5.128 MB / 0.9467 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000574/1.735, allocations: 76.2 kB / 0.9468 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00268/1.737, allocations: 4.999 MB / 0.9517 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.739, allocations: 1.281 MB / 0.9529 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004078/1.739, allocations: 186.1 kB / 0.9531 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003846/1.74, allocations: 0.7038 MB / 0.9538 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003878/1.743, allocations: 3.152 MB / 0.9569 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005881/1.749, allocations: 8.598 MB / 0.9653 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006397/1.756, allocations: 5.197 MB / 0.9703 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/1.756, allocations: 53.78 kB / 0.9704 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02131/1.777, allocations: 12.53 MB / 0.9826 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/1.777, allocations: 88.31 kB / 0.9827 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002794/1.778, allocations: 195.4 kB / 0.9829 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00363/1.781, allocations: 1.32 MB / 0.9842 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00681/1.788, allocations: 2.186 MB / 0.9863 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009178/1.797, allocations: 7.092 MB / 0.9932 GB, free: 98.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007695/1.805, allocations: 0.5638 MB / 0.9938 GB, free: 98.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001725/1.807, allocations: 0.5404 MB / 0.9943 GB, free: 98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1148 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001673/1.808, allocations: 0.8146 MB / 0.9951 GB, free: 97.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.81, allocations: 0.5278 MB / 0.9956 GB, free: 97.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009479/1.819, allocations: 5.265 MB / 1.001 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.545e-05/1.819, allocations: 38.25 kB / 1.001 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.819, allocations: 7.344 kB / 1.001 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/1.819, allocations: 18.41 kB / 1.001 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/1.842, allocations: 14.03 MB / 1.015 GB, free: 86.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/1.842, allocations: 12 kB / 1.015 GB, free: 86.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/1.844, allocations: 0.5356 MB / 1.015 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002993/1.847, allocations: 0.9191 MB / 1.016 GB, free: 85.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002664/1.847, allocations: 64.62 kB / 1.016 GB, free: 85.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006799/1.854, allocations: 5.413 MB / 1.021 GB, free: 80.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.854, allocations: 23.39 kB / 1.021 GB, free: 80.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/1.867, allocations: 10.13 MB / 1.031 GB, free: 70.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.869, allocations: 0.57 MB / 1.032 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006393/1.869, allocations: 70.17 kB / 1.032 GB, free: 70.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/1.871, allocations: 186.9 kB / 1.032 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004346/1.872, allocations: 219.2 kB / 1.032 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/1.872, allocations: 108.4 kB / 1.032 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00526/1.877, allocations: 3.536 MB / 1.036 GB, free: 66.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/1.877, allocations: 0 / 1.036 GB, free: 66.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00828/1.886, allocations: 1.661 MB / 1.037 GB, free: 65.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006983/1.886, allocations: 263.6 kB / 1.038 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.897, allocations: 7.624 MB / 1.045 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/1.897, allocations: 4 kB / 1.045 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003124/1.9, allocations: 2.341 MB / 1.047 GB, free: 55.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/1.903, allocations: 0.6413 MB / 1.048 GB, free: 55.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02509/1.929, allocations: 12.66 MB / 1.06 GB, free: 43.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006835/1.935, allocations: 5.308 MB / 1.066 GB, free: 39.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007865/1.943, allocations: 3.047 MB / 1.069 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.944, allocations: 386.9 kB / 1.069 GB, free: 37.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.743e-06/1.944, allocations: 0 / 1.069 GB, free: 37.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.3665/2.311, allocations: 55.25 MB / 1.123 GB, free: 123.4 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches