Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 86.55 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3973/0.3973, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.028e-05/4.054e-05, allocations: 7.984 kB / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1295, allocations: 58.84 MB / 484.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5526, allocations: 116.1 MB / 0.5862 GB, free: 4.887 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.553, allocations: 85.62 kB / 0.5863 GB, free: 4.809 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6691/1.222, allocations: 154.7 MB / 0.7374 GB, free: 87.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.222, allocations: 0 / 0.7374 GB, free: 87.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003534/1.222, allocations: 136.8 kB / 0.7375 GB, free: 87.17 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.0228/1.245, allocations: 6.545 MB / 0.7439 GB, free: 83.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/1.245, allocations: 7.438 kB / 0.7439 GB, free: 83.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02762/1.273, allocations: 6.678 MB / 0.7504 GB, free: 83.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/1.293, allocations: 8.395 MB / 0.7586 GB, free: 80.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000636/1.294, allocations: 0.5286 MB / 0.7591 GB, free: 79.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004848/1.299, allocations: 0.705 MB / 0.7598 GB, free: 79.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04981/1.349, allocations: 18.69 MB / 0.7781 GB, free: 67.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005834/1.349, allocations: 83.27 kB / 0.7782 GB, free: 67.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003973/1.353, allocations: 343.3 kB / 0.7785 GB, free: 66.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002633/1.356, allocations: 1.726 MB / 0.7802 GB, free: 65.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03271/1.389, allocations: 16.22 MB / 0.796 GB, free: 48.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3907/1.78, allocations: 74.19 MB / 0.8685 GB, free: 49.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0149/1.795, allocations: 6.104 MB / 0.8744 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00386/1.798, allocations: 2.701 MB / 0.8771 GB, free: 48.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02363/1.822, allocations: 13.91 MB / 0.8906 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/1.822, allocations: 62.34 kB / 0.8907 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=284): time 5.871e-06/1.822, allocations: 0 / 0.8907 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=344): time 0.06381/1.886, allocations: 19.31 MB / 0.9096 GB, free: 40.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/1.886, allocations: 191.6 kB / 0.9097 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/1.898, allocations: 5.17 MB / 0.9148 GB, free: 39.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007108/1.899, allocations: 73.91 kB / 0.9149 GB, free: 39.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004418/1.903, allocations: 5.016 MB / 0.9198 GB, free: 36.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001807/1.905, allocations: 1.286 MB / 0.921 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009611/1.906, allocations: 186.4 kB / 0.9212 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006279/1.907, allocations: 0.7089 MB / 0.9219 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005316/1.912, allocations: 3.136 MB / 0.925 GB, free: 35.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009624/1.922, allocations: 8.612 MB / 0.9334 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008128/1.93, allocations: 5.192 MB / 0.9384 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001851/1.93, allocations: 54.44 kB / 0.9385 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02669/1.957, allocations: 12.52 MB / 0.9507 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/1.957, allocations: 87.03 kB / 0.9508 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002783/1.957, allocations: 200.2 kB / 0.951 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/1.962, allocations: 1.322 MB / 0.9523 GB, free: 21.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007417/1.969, allocations: 2.186 MB / 0.9544 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.979, allocations: 7.104 MB / 0.9614 GB, free: 17.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008113/1.987, allocations: 0.5601 MB / 0.9619 GB, free: 17.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002036/1.989, allocations: 0.5474 MB / 0.9624 GB, free: 17.21 MB / 0.4948 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.002806/1.992, allocations: 0.8078 MB / 0.9632 GB, free: 16.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.994, allocations: 0.5283 MB / 0.9637 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/2.005, allocations: 5.28 MB / 0.9689 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-05/2.005, allocations: 34.69 kB / 0.9689 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/2.005, allocations: 7.969 kB / 0.9689 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/2.005, allocations: 20.31 kB / 0.969 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0316/2.037, allocations: 14.05 MB / 0.9827 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.894e-05/2.037, allocations: 15.88 kB / 0.9827 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/2.039, allocations: 0.5371 MB / 0.9832 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003197/2.043, allocations: 0.9124 MB / 0.9841 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005614/2.043, allocations: 73.75 kB / 0.9842 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007167/2.05, allocations: 5.405 MB / 0.9895 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/2.05, allocations: 16 kB / 0.9895 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/2.066, allocations: 10.15 MB / 0.9994 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003616/2.07, allocations: 0.9507 MB / 1 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001611/2.072, allocations: 64.72 kB / 1 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003158/2.075, allocations: 198.3 kB / 1.001 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005631/2.076, allocations: 212 kB / 1.001 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002542/2.076, allocations: 105.2 kB / 1.001 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007612/2.083, allocations: 3.57 MB / 1.004 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.12e-07/2.083, allocations: 0 / 1.004 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01075/2.094, allocations: 1.655 MB / 1.006 GB, free: 2.715 MB / 0.5105 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.001061/2.095, allocations: 272.3 kB / 1.006 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0135/2.109, allocations: 7.617 MB / 1.014 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.775e-05/2.109, allocations: 7.188 kB / 1.014 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004486/2.113, allocations: 2.362 MB / 1.016 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/2.117, allocations: 0.6473 MB / 1.017 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/2.143, allocations: 12.68 MB / 1.029 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008341/2.152, allocations: 5.319 MB / 1.034 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008358/2.16, allocations: 3.046 MB / 1.037 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/2.162, allocations: 382.8 kB / 1.038 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of SimCode: time 1.302e-06/2.162, allocations: 0 / 1.038 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of Templates: time 0.3928/2.555, allocations: 55.37 MB / 1.092 GB, free: 149.2 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches