Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00161/0.00161, allocations: 182.3 kB / 16.41 MB, free: 5.598 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.671/1.671, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001201/0.001201, allocations: 98.28 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2901/0.2901, allocations: 43.58 MB / 362.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.0004312, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 58.86 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3848/0.5337, allocations: 52.79 MB / 0.5303 GB, free: 9.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0344/0.5681, allocations: 11.67 MB / 0.5417 GB, free: 8.535 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01439/0.5826, allocations: 248.8 kB / 0.5419 GB, free: 8.496 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01303/0.5956, allocations: 2.755 MB / 0.5446 GB, free: 7.898 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03234/0.6281, allocations: 8.269 MB / 0.5527 GB, free: 4.293 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00576/0.6338, allocations: 1.071 MB / 0.5538 GB, free: 3.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03047/0.6643, allocations: 23.42 MB / 0.5766 GB, free: 4.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/0.6786, allocations: 7.037 MB / 0.5835 GB, free: 13.67 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006226/0.6849, allocations: 2.156 MB / 0.5856 GB, free: 11.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007056/0.692, allocations: 3.505 MB / 0.589 GB, free: 7.988 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002252/0.6943, allocations: 264 kB / 0.5893 GB, free: 7.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005102/0.6994, allocations: 1.283 MB / 0.5905 GB, free: 6.445 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005322/0.7048, allocations: 2.902 MB / 0.5934 GB, free: 3.535 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003663/0.7085, allocations: 1.376 MB / 0.5947 GB, free: 2.148 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.7233, allocations: 9.543 MB / 0.604 GB, free: 8.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.7234, allocations: 0 / 0.604 GB, free: 8.582 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.7234, allocations: 4 kB / 0.604 GB, free: 8.578 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006285/0.724, allocations: 4 kB / 0.604 GB, free: 8.574 MB / 410.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.02098/0.745, allocations: 6.537 MB / 0.6104 GB, free: 1.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/0.7451, allocations: 16.02 kB / 0.6104 GB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/0.7629, allocations: 4.03 MB / 0.6144 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/0.7748, allocations: 4.339 MB / 0.6186 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005205/0.7754, allocations: 409.9 kB / 0.619 GB, free: 9.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003117/0.7785, allocations: 0.5541 MB / 0.6195 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04674/0.8253, allocations: 18.88 MB / 0.638 GB, free: 4.602 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004653/0.8258, allocations: 71.39 kB / 0.638 GB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002917/0.8288, allocations: 247.8 kB / 0.6383 GB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006459/0.8352, allocations: 3.428 MB / 0.6416 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0427/0.878, allocations: 16.61 MB / 0.6578 GB, free: 240 kB / 458.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.4059/1.284, allocations: 66.84 MB / 0.7231 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01853/1.303, allocations: 6.259 MB / 0.7292 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005496/1.308, allocations: 2.819 MB / 0.732 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02726/1.335, allocations: 13.82 MB / 0.7455 GB, free: 158 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/1.335, allocations: 63.75 kB / 0.7456 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 6.532e-06/1.336, allocations: 0 / 0.7456 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=345): time 0.08816/1.424, allocations: 25.27 MB / 0.7702 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/1.424, allocations: 189.9 kB / 0.7704 GB, free: 148 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009488/1.433, allocations: 5.877 MB / 0.7762 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006028/1.434, allocations: 73.7 kB / 0.7762 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002657/1.437, allocations: 4.962 MB / 0.7811 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001322/1.438, allocations: 1.286 MB / 0.7823 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008936/1.439, allocations: 193.7 kB / 0.7825 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006702/1.44, allocations: 0.7153 MB / 0.7832 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005175/1.445, allocations: 3.317 MB / 0.7864 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008174/1.453, allocations: 8.834 MB / 0.7951 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007922/1.461, allocations: 5.312 MB / 0.8003 GB, free: 115 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002382/1.461, allocations: 56 kB / 0.8003 GB, free: 115 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02709/1.488, allocations: 12.92 MB / 0.8129 GB, free: 102 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002743/1.489, allocations: 89.56 kB / 0.813 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003634/1.489, allocations: 192 kB / 0.8132 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004376/1.493, allocations: 1.356 MB / 0.8145 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00733/1.501, allocations: 2.199 MB / 0.8167 GB, free: 98.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/1.511, allocations: 7.294 MB / 0.8238 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008518/1.52, allocations: 0.501 MB / 0.8243 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001926/1.522, allocations: 0.5514 MB / 0.8248 GB, free: 89.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1179): * Single equations (assignments): 1172 * 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.007661/1.529, allocations: 3.455 MB / 0.8282 GB, free: 86.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/1.531, allocations: 0.5244 MB / 0.8287 GB, free: 85.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/1.543, allocations: 5.387 MB / 0.834 GB, free: 80.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-05/1.543, allocations: 43.39 kB / 0.834 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-05/1.543, allocations: 8 kB / 0.834 GB, free: 80.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.215e-05/1.543, allocations: 15.94 kB / 0.834 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03371/1.577, allocations: 14 MB / 0.8477 GB, free: 65.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.773e-05/1.577, allocations: 12.97 kB / 0.8477 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/1.58, allocations: 0.496 MB / 0.8482 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003334/1.583, allocations: 0.812 MB / 0.849 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006236/1.584, allocations: 68 kB / 0.8491 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009446/1.593, allocations: 5.335 MB / 0.8543 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-05/1.593, allocations: 19.88 kB / 0.8543 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/1.608, allocations: 8.263 MB / 0.8624 GB, free: 50.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002777/1.611, allocations: 0.9353 MB / 0.8633 GB, free: 49.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001469/1.612, allocations: 65.39 kB / 0.8633 GB, free: 49.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/1.615, allocations: 137.3 kB / 0.8635 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004702/1.616, allocations: 221.5 kB / 0.8637 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/1.616, allocations: 109.2 kB / 0.8638 GB, free: 49.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006892/1.623, allocations: 3.639 MB / 0.8673 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/1.623, allocations: 0 / 0.8673 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008992/1.632, allocations: 1.646 MB / 0.8689 GB, free: 43.81 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 () * Number of clocked 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.0009432/1.633, allocations: 254.3 kB / 0.8692 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01435/1.647, allocations: 7.837 MB / 0.8768 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.371e-05/1.648, allocations: 4 kB / 0.8768 GB, free: 35.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004819/1.652, allocations: 2.369 MB / 0.8792 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008261/1.661, allocations: 0.6649 MB / 0.8798 GB, free: 32.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03963/1.7, allocations: 18.91 MB / 0.8983 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01001/1.71, allocations: 5.156 MB / 0.9033 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002478/1.713, allocations: 451.4 kB / 0.9037 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/1.713, allocations: 0 / 0.9037 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of Templates: time 0.4706/2.184, allocations: 125.3 MB / 1.026 GB, free: 67.07 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches