Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 183 kB / 16.63 MB, free: 5.137 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.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.0009782/0.0009783, allocations: 101 kB / 269.9 MB, free: 8.441 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.3695/0.3695, allocations: 43.49 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009541/0.0009542, allocations: 55.91 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1233, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.2988/0.4221, allocations: 63.15 MB / 0.5373 GB, free: 25.07 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03087/0.4531, allocations: 13.24 MB / 0.5502 GB, free: 16.25 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01538/0.4685, allocations: 275.1 kB / 0.5505 GB, free: 16.21 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007539/0.476, allocations: 4.557 MB / 0.5549 GB, free: 14.11 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007369/0.4835, allocations: 2.862 MB / 0.5577 GB, free: 12.85 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.4865, allocations: 1.388 MB / 0.5591 GB, free: 12.28 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01574/0.5023, allocations: 12.06 MB / 0.5708 GB, free: 8.875 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008726/0.5111, allocations: 6.31 MB / 0.577 GB, free: 5.949 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005059/0.5162, allocations: 2.673 MB / 0.5796 GB, free: 4.547 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006553/0.5227, allocations: 4.498 MB / 0.584 GB, free: 1.992 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001707/0.5245, allocations: 459.2 kB / 0.5844 GB, free: 1.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.5282, allocations: 1.716 MB / 0.5861 GB, free: 12 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003942/0.5322, allocations: 3.573 MB / 0.5896 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006293/0.5385, allocations: 4.011 MB / 0.5935 GB, free: 8.395 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01687/0.5554, allocations: 12.97 MB / 0.6062 GB, free: 11.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5554, allocations: 0 / 0.6062 GB, free: 11.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5554, allocations: 0 / 0.6062 GB, free: 11.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004399/0.5559, allocations: 0 / 0.6062 GB, free: 11.38 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02381/0.5797, allocations: 9.035 MB / 0.615 GB, free: 2.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.5798, allocations: 12.02 kB / 0.615 GB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/0.5968, allocations: 4.1 MB / 0.619 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/0.6103, allocations: 5.299 MB / 0.6242 GB, free: 8.746 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004735/0.6108, allocations: 434.9 kB / 0.6246 GB, free: 8.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003896/0.6147, allocations: 0.5933 MB / 0.6252 GB, free: 7.727 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04521/0.6599, allocations: 20.62 MB / 0.6453 GB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004371/0.6604, allocations: 79.25 kB / 0.6454 GB, free: 1.887 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002754/0.6632, allocations: 283.7 kB / 0.6457 GB, free: 1.609 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005949/0.6692, allocations: 3.71 MB / 0.6493 GB, free: 13.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0399/0.7091, allocations: 18.2 MB / 0.6671 GB, free: 11.68 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5304/1.239, allocations: 74.64 MB / 0.74 GB, free: 97.72 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01575/1.255, allocations: 7.465 MB / 0.7472 GB, free: 94.74 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004822/1.26, allocations: 4.111 MB / 0.7513 GB, free: 93.09 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03128/1.291, allocations: 18.21 MB / 0.769 GB, free: 83.74 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.355e-05/1.292, allocations: 67.09 kB / 0.7691 GB, free: 83.68 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=335): time 8.817e-06/1.292, allocations: 1.438 kB / 0.7691 GB, free: 83.68 MB / 0.4949 GB Notification: Performance of matching and sorting (n=419): time 0.1115/1.403, allocations: 35.09 MB / 0.8034 GB, free: 68.6 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/1.403, allocations: 200.2 kB / 0.8036 GB, free: 68.37 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008413/1.412, allocations: 6.514 MB / 0.8099 GB, free: 61.85 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009186/1.413, allocations: 81.7 kB / 0.81 GB, free: 61.77 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002757/1.415, allocations: 5.369 MB / 0.8153 GB, free: 56.4 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/1.417, allocations: 1.546 MB / 0.8168 GB, free: 54.87 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002436/1.419, allocations: 2.131 MB / 0.8188 GB, free: 52.73 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 5.117e-05/1.42, allocations: 309.1 kB / 0.8191 GB, free: 52.42 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005098/1.425, allocations: 4.335 MB / 0.8234 GB, free: 48.08 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007596/1.432, allocations: 10.28 MB / 0.8334 GB, free: 34.94 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/1.447, allocations: 15.67 MB / 0.8487 GB, free: 16.34 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/1.447, allocations: 56 kB / 0.8488 GB, free: 16.29 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03233/1.48, allocations: 16.36 MB / 0.8647 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000348/1.48, allocations: 92 kB / 0.8648 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004114/1.481, allocations: 208 kB / 0.865 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008108/1.489, allocations: 2.368 MB / 0.8673 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008994/1.498, allocations: 2.464 MB / 0.8698 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/1.518, allocations: 11.9 MB / 0.8814 GB, free: 14.72 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009998/1.528, allocations: 0.5853 MB / 0.8819 GB, free: 14.14 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002254/1.53, allocations: 0.6015 MB / 0.8825 GB, free: 13.54 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1316): * Single equations (assignments): 1309 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008823/1.539, allocations: 3.777 MB / 0.8862 GB, free: 9.742 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001907/1.541, allocations: 0.5977 MB / 0.8868 GB, free: 9.137 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/1.561, allocations: 8.333 MB / 0.8949 GB, free: 0.7578 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.472e-05/1.561, allocations: 59.98 kB / 0.895 GB, free: 0.6992 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.968e-05/1.561, allocations: 12 kB / 0.895 GB, free: 0.6875 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.127e-05/1.561, allocations: 19.88 kB / 0.895 GB, free: 0.668 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2865/1.847, allocations: 18.95 MB / 0.9135 GB, free: 158.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.241e-05/1.847, allocations: 13.16 kB / 0.9136 GB, free: 158.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/1.85, allocations: 0.6248 MB / 0.9142 GB, free: 158.4 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005901/1.856, allocations: 1.806 MB / 0.9159 GB, free: 158.1 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003954/1.856, allocations: 82.5 kB / 0.916 GB, free: 158.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/1.87, allocations: 9.999 MB / 0.9258 GB, free: 153.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.956e-06/1.87, allocations: 19.22 kB / 0.9258 GB, free: 153.4 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1394/2.009, allocations: 69.24 MB / 0.9934 GB, free: 111.4 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002843/2.012, allocations: 1.165 MB / 0.9945 GB, free: 110.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007519/2.013, allocations: 83.92 kB / 0.9946 GB, free: 110.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/2.015, allocations: 199.7 kB / 0.9948 GB, free: 110 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005858/2.016, allocations: 269.5 kB / 0.9951 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/2.016, allocations: 116 kB / 0.9952 GB, free: 109.6 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.004773/2.021, allocations: 4.052 MB / 0.9991 GB, free: 105.6 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6.22e-07/2.021, allocations: 0 / 0.9991 GB, free: 105.6 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0105/2.031, allocations: 2.522 MB / 1.002 GB, free: 103 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.v) * 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 (331): * Single equations (assignments): 324 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008095/2.032, allocations: 292.9 kB / 1.002 GB, free: 102.8 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01278/2.045, allocations: 10.12 MB / 1.012 GB, free: 92.67 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.028e-05/2.045, allocations: 4 kB / 1.012 GB, free: 92.66 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005459/2.051, allocations: 3.387 MB / 1.015 GB, free: 89.27 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005097/2.056, allocations: 0.7617 MB / 1.016 GB, free: 88.52 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02971/2.085, allocations: 24.58 MB / 1.04 GB, free: 63.73 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007747/2.093, allocations: 5.746 MB / 1.045 GB, free: 57.95 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.008212/2.102, allocations: 3.352 MB / 1.049 GB, free: 54.59 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002145/2.104, allocations: 431.4 kB / 1.049 GB, free: 54.17 MB / 0.5262 GB Notification: Performance of SimCode: time 9.52e-07/2.104, allocations: 0 / 1.049 GB, free: 54.17 MB / 0.5262 GB Notification: Performance of Templates: time 0.3368/2.441, allocations: 92.75 MB / 1.14 GB, free: 132.8 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches