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.001665/0.001665, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.384/1.384, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009978/0.0009979, allocations: 105.7 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3262/0.3262, allocations: 44.13 MB / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009842/0.0009843, allocations: 55.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3474, allocations: 60.8 MB / 0.5064 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.03916/0.3866, allocations: 58.18 MB / 0.5632 GB, free: 12.81 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02829/0.4149, allocations: 12.35 MB / 0.5753 GB, free: 4.562 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01206/0.427, allocations: 250.6 kB / 0.5755 GB, free: 4.523 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009208/0.4362, allocations: 4.139 MB / 0.5795 GB, free: 2.625 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008008/0.4444, allocations: 2.602 MB / 0.5821 GB, free: 1.48 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.4479, allocations: 1.155 MB / 0.5832 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01348/0.4614, allocations: 10.78 MB / 0.5937 GB, free: 6.469 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0085/0.47, allocations: 5.739 MB / 0.5993 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004881/0.4749, allocations: 2.359 MB / 0.6016 GB, free: 14.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007028/0.482, allocations: 3.98 MB / 0.6055 GB, free: 10.3 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002389/0.4844, allocations: 416 kB / 0.6059 GB, free: 9.891 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005555/0.49, allocations: 1.658 MB / 0.6075 GB, free: 8.23 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004459/0.4944, allocations: 3.167 MB / 0.6106 GB, free: 5.055 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006479/0.5009, allocations: 3.623 MB / 0.6142 GB, free: 1.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.515, allocations: 11.8 MB / 0.6257 GB, free: 5.574 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.515, allocations: 0 / 0.6257 GB, free: 5.574 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5151, allocations: 4 kB / 0.6257 GB, free: 5.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004871/0.5155, allocations: 0 / 0.6257 GB, free: 5.57 MB / 442.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.02103/0.5366, allocations: 7.882 MB / 0.6334 GB, free: 13.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.5367, allocations: 12.03 kB / 0.6334 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/0.5532, allocations: 3.934 MB / 0.6373 GB, free: 9.637 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.5633, allocations: 4.268 MB / 0.6414 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004312/0.5637, allocations: 398 kB / 0.6418 GB, free: 4.918 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003152/0.5669, allocations: 0.5425 MB / 0.6423 GB, free: 4.375 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04356/0.6105, allocations: 18.88 MB / 0.6608 GB, free: 456 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004155/0.6109, allocations: 67.41 kB / 0.6608 GB, free: 388 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003147/0.6141, allocations: 251.7 kB / 0.6611 GB, free: 136 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006872/0.621, allocations: 3.432 MB / 0.6644 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4956/1.117, allocations: 16.63 MB / 0.6807 GB, free: 121.9 MB / 490.8 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.08345/1.2, allocations: 66.9 MB / 0.746 GB, free: 77.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01581/1.216, allocations: 6.267 MB / 0.7521 GB, free: 74.69 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003927/1.22, allocations: 2.829 MB / 0.7549 GB, free: 73.28 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0218/1.242, allocations: 13.86 MB / 0.7684 GB, free: 62.68 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/1.242, allocations: 64.48 kB / 0.7685 GB, free: 62.61 MB / 490.8 MB Notification: Performance of pre-optimization done (n=284): time 6.833e-06/1.242, allocations: 7.172 kB / 0.7685 GB, free: 62.61 MB / 490.8 MB Notification: Performance of matching and sorting (n=345): time 0.07969/1.322, allocations: 25.02 MB / 0.7929 GB, free: 37.58 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/1.322, allocations: 188.3 kB / 0.7931 GB, free: 37.36 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006561/1.328, allocations: 5.884 MB / 0.7988 GB, free: 31.5 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000545/1.329, allocations: 73.7 kB / 0.7989 GB, free: 31.42 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001947/1.331, allocations: 4.956 MB / 0.8038 GB, free: 26.41 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.332, allocations: 1.288 MB / 0.805 GB, free: 25.11 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001941/1.334, allocations: 1.904 MB / 0.8069 GB, free: 23.19 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.634e-05/1.334, allocations: 305.1 kB / 0.8072 GB, free: 22.89 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004031/1.338, allocations: 3.353 MB / 0.8104 GB, free: 19.53 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007336/1.345, allocations: 8.873 MB / 0.8191 GB, free: 7.945 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/1.36, allocations: 13.18 MB / 0.832 GB, free: 8.02 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/1.36, allocations: 56 kB / 0.832 GB, free: 7.965 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02689/1.387, allocations: 13 MB / 0.8447 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/1.387, allocations: 88 kB / 0.8448 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000237/1.387, allocations: 192 kB / 0.845 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004619/1.392, allocations: 1.318 MB / 0.8463 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00781/1.4, allocations: 2.207 MB / 0.8484 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/1.412, allocations: 7.285 MB / 0.8556 GB, free: 15.69 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00719/1.419, allocations: 0.5033 MB / 0.856 GB, free: 15.18 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/1.421, allocations: 0.5508 MB / 0.8566 GB, free: 14.63 MB / 0.5262 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 (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,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006449/1.428, allocations: 3.452 MB / 0.86 GB, free: 11.17 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.429, allocations: 0.5283 MB / 0.8605 GB, free: 10.63 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.44, allocations: 5.408 MB / 0.8658 GB, free: 5.164 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.459e-05/1.44, allocations: 36 kB / 0.8658 GB, free: 5.129 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/1.44, allocations: 12 kB / 0.8658 GB, free: 5.117 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.852e-05/1.441, allocations: 11.95 kB / 0.8658 GB, free: 5.105 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03523/1.476, allocations: 14 MB / 0.8795 GB, free: 6.809 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-05/1.476, allocations: 12.97 kB / 0.8795 GB, free: 6.797 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002525/1.478, allocations: 0.4953 MB / 0.88 GB, free: 6.301 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003467/1.482, allocations: 0.8124 MB / 0.8808 GB, free: 5.484 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000575/1.482, allocations: 75.92 kB / 0.8808 GB, free: 5.41 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2598/1.742, allocations: 5.327 MB / 0.886 GB, free: 173.9 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.909e-05/1.742, allocations: 19.44 kB / 0.8861 GB, free: 173.9 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09218/1.835, allocations: 37.74 MB / 0.9229 GB, free: 159.2 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009632/1.836, allocations: 0.5597 MB / 0.9235 GB, free: 158.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007504/1.836, allocations: 63.88 kB / 0.9235 GB, free: 158.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/1.838, allocations: 136.6 kB / 0.9237 GB, free: 158.7 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005042/1.839, allocations: 227.3 kB / 0.9239 GB, free: 158.6 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/1.839, allocations: 103.1 kB / 0.924 GB, free: 158.6 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.006216/1.845, allocations: 3.654 MB / 0.9275 GB, free: 157.4 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.91e-07/1.845, allocations: 3.062 kB / 0.9275 GB, free: 157.4 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.009322/1.855, allocations: 2.077 MB / 0.9296 GB, free: 157.2 MB / 0.5418 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 (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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000852/1.855, allocations: 265.6 kB / 0.9298 GB, free: 157.1 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.868, allocations: 7.885 MB / 0.9375 GB, free: 154.3 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/1.868, allocations: 7.875 kB / 0.9375 GB, free: 154.3 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.00343/1.871, allocations: 2.372 MB / 0.9398 GB, free: 153.4 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/1.875, allocations: 0.674 MB / 0.9405 GB, free: 153 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/1.902, allocations: 21.19 MB / 0.9612 GB, free: 135.4 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007365/1.909, allocations: 5.267 MB / 0.9663 GB, free: 131.1 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.006948/1.916, allocations: 2.982 MB / 0.9693 GB, free: 128.1 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/1.917, allocations: 391.4 kB / 0.9696 GB, free: 127.7 MB / 0.5418 GB Notification: Performance of SimCode: time 6.11e-07/1.917, allocations: 4 kB / 0.9696 GB, free: 127.7 MB / 0.5418 GB Notification: Performance of Templates: time 0.1132/2.031, allocations: 69.82 MB / 1.038 GB, free: 58.26 MB / 0.5418 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@2/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