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.0009384/0.0009385, allocations: 181.1 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009023/0.0009023, allocations: 82.64 kB / 261.7 MB, free: 1.691 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.2115/0.2115, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.325e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4804/0.6166, allocations: 115.5 MB / 0.5787 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.6168, allocations: 77.22 kB / 0.5788 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6861/1.303, allocations: 151.6 MB / 0.7268 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/1.303, allocations: 1.156 kB / 0.7268 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004664/1.303, allocations: 132.8 kB / 0.7269 GB, free: 104.3 MB / 0.4948 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.0233/1.327, allocations: 6.548 MB / 0.7333 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.327, allocations: 7.75 kB / 0.7333 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02688/1.354, allocations: 6.681 MB / 0.7398 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01977/1.374, allocations: 8.388 MB / 0.748 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004065/1.374, allocations: 229.1 kB / 0.7483 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004075/1.378, allocations: 426.1 kB / 0.7487 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02231/1.4, allocations: 11.66 MB / 0.76 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0422/1.443, allocations: 15.89 MB / 0.7756 GB, free: 96.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009987/1.444, allocations: 91.14 kB / 0.7756 GB, free: 96.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00612/1.45, allocations: 46.17 kB / 0.7757 GB, free: 96.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003352/1.453, allocations: 1.725 MB / 0.7774 GB, free: 96.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09468/1.548, allocations: 70.86 MB / 0.8466 GB, free: 40.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005594/1.554, allocations: 4.665 MB / 0.8511 GB, free: 36.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003114/1.557, allocations: 2.663 MB / 0.8537 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02048/1.577, allocations: 13.72 MB / 0.8671 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/1.577, allocations: 64.56 kB / 0.8672 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=286): time 6.753e-06/1.577, allocations: 0 / 0.8672 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=346): time 0.04186/1.619, allocations: 17.99 MB / 0.8848 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/1.619, allocations: 184.3 kB / 0.8849 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006371/1.626, allocations: 4.623 MB / 0.8894 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006148/1.626, allocations: 29.7 kB / 0.8895 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003677/1.63, allocations: 5.097 MB / 0.8944 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.632, allocations: 1.253 MB / 0.8957 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/1.632, allocations: 4 kB / 0.8957 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005879/1.633, allocations: 0.7235 MB / 0.8964 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004744/1.638, allocations: 3.049 MB / 0.8994 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3535/1.991, allocations: 8.742 MB / 0.9079 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/2.003, allocations: 5.297 MB / 0.9131 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003251/2.003, allocations: 58.59 kB / 0.9131 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.0334/2.037, allocations: 11.7 MB / 0.9246 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/2.037, allocations: 93.03 kB / 0.9246 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003017/2.037, allocations: 213.3 kB / 0.9248 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003983/2.041, allocations: 1.313 MB / 0.9261 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0081/2.049, allocations: 2.263 MB / 0.9283 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009283/2.059, allocations: 6.844 MB / 0.935 GB, free: 99.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008651/2.067, allocations: 383.5 kB / 0.9354 GB, free: 99.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002215/2.07, allocations: 0.5736 MB / 0.9359 GB, free: 99.99 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 927 * 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 (1206): * Single equations (assignments): 1199 * 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.001711/2.071, allocations: 0.6071 MB / 0.9365 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/2.072, allocations: 0.4986 MB / 0.937 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009491/2.082, allocations: 5.029 MB / 0.9419 GB, free: 99.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.887e-05/2.082, allocations: 38.36 kB / 0.942 GB, free: 99.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/2.082, allocations: 7.875 kB / 0.942 GB, free: 99.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.388e-05/2.082, allocations: 16.41 kB / 0.942 GB, free: 99.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02524/2.107, allocations: 12.24 MB / 0.954 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/2.107, allocations: 18.72 kB / 0.954 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/2.109, allocations: 0.5157 MB / 0.9545 GB, free: 97.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/2.112, allocations: 0.858 MB / 0.9553 GB, free: 97.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/2.113, allocations: 23.72 kB / 0.9553 GB, free: 97.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006898/2.12, allocations: 5.157 MB / 0.9604 GB, free: 96.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/2.12, allocations: 20.8 kB / 0.9604 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/2.132, allocations: 9.775 MB / 0.9699 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002497/2.135, allocations: 0.9101 MB / 0.9708 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006884/2.135, allocations: 13.94 kB / 0.9708 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/2.137, allocations: 133.3 kB / 0.971 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003774/2.138, allocations: 218.6 kB / 0.9712 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001908/2.138, allocations: 104.1 kB / 0.9713 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004717/2.143, allocations: 3.06 MB / 0.9743 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/2.143, allocations: 0 / 0.9743 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008681/2.151, allocations: 1.428 MB / 0.9757 GB, free: 89.27 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 (269): * Single equations (assignments): 262 * 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.0006768/2.152, allocations: 220.6 kB / 0.9759 GB, free: 89.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01061/2.163, allocations: 7.286 MB / 0.983 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/2.163, allocations: 6.75 kB / 0.983 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00313/2.166, allocations: 2.281 MB / 0.9852 GB, free: 85.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/2.169, allocations: 0.501 MB / 0.9857 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/2.193, allocations: 12.54 MB / 0.9979 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008991/2.202, allocations: 5.318 MB / 1.003 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008062/2.21, allocations: 3.123 MB / 1.006 GB, free: 76.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/2.211, allocations: 371 kB / 1.007 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of SimCode: time 1.153e-06/2.211, allocations: 0 / 1.007 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.08876/2.3, allocations: 50.49 MB / 1.056 GB, free: 37.4 MB / 0.5105 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