Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001425/0.001425, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001649, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 79.86 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.428, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.021/0.4491, allocations: 16.23 MB / 0.5468 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.4656, allocations: 5.339 MB / 0.5521 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005523/0.4711, allocations: 99.69 kB / 0.5522 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009246/0.4805, allocations: 4.162 MB / 0.5562 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009895/0.4904, allocations: 2.794 MB / 0.5589 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.4947, allocations: 1.256 MB / 0.5602 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01473/0.5095, allocations: 7.738 MB / 0.5677 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/0.5212, allocations: 5.838 MB / 0.5734 GB, free: 6.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007419/0.5287, allocations: 2.671 MB / 0.576 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007755/0.5365, allocations: 3.782 MB / 0.5797 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002896/0.5395, allocations: 0.5938 MB / 0.5803 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005554/0.545, allocations: 1.748 MB / 0.582 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006202/0.5513, allocations: 3.304 MB / 0.5852 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009102/0.5604, allocations: 3.771 MB / 0.5889 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01812/0.5786, allocations: 12.29 MB / 0.6009 GB, free: 9.812 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.5786, allocations: 0 / 0.6009 GB, free: 9.812 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5786, allocations: 4 kB / 0.6009 GB, free: 9.809 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005221/0.5791, allocations: 0 / 0.6009 GB, free: 9.809 MB / 462.1 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.02605/0.6052, allocations: 7.836 MB / 0.6086 GB, free: 1.891 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.6053, allocations: 15.97 kB / 0.6086 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/0.6229, allocations: 3.938 MB / 0.6124 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/0.6352, allocations: 4.244 MB / 0.6166 GB, free: 9.617 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004877/0.6358, allocations: 394 kB / 0.617 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002878/0.6387, allocations: 0.5503 MB / 0.6175 GB, free: 8.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04383/0.6825, allocations: 18.88 MB / 0.6359 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000255/0.6828, allocations: 71.3 kB / 0.636 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001251/0.6841, allocations: 247.8 kB / 0.6363 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005596/0.6897, allocations: 3.436 MB / 0.6396 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03719/0.7269, allocations: 16.63 MB / 0.6559 GB, free: 352 kB / 0.4981 GB 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.4267/1.154, allocations: 66.58 MB / 0.7209 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/1.17, allocations: 6.274 MB / 0.727 GB, free: 143 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/1.174, allocations: 2.837 MB / 0.7298 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02242/1.196, allocations: 13.94 MB / 0.7434 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/1.196, allocations: 68.66 kB / 0.7434 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 5.501e-06/1.196, allocations: 3.938 kB / 0.7434 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.0796/1.276, allocations: 24.84 MB / 0.7677 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/1.276, allocations: 188.3 kB / 0.7679 GB, free: 121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008558/1.285, allocations: 5.876 MB / 0.7736 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007376/1.285, allocations: 73.7 kB / 0.7737 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002586/1.288, allocations: 4.953 MB / 0.7785 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002143/1.29, allocations: 1.289 MB / 0.7798 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003413/1.294, allocations: 1.908 MB / 0.7817 GB, free: 107 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.294, allocations: 301.1 kB / 0.7819 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005771/1.299, allocations: 3.361 MB / 0.7852 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009063/1.309, allocations: 8.876 MB / 0.7939 GB, free: 91.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01405/1.323, allocations: 13.19 MB / 0.8068 GB, free: 76.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002419/1.323, allocations: 56 kB / 0.8068 GB, free: 75.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0272/1.35, allocations: 12.99 MB / 0.8195 GB, free: 62.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002406/1.35, allocations: 94.33 kB / 0.8196 GB, free: 62.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003063/1.351, allocations: 192 kB / 0.8198 GB, free: 62.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004074/1.355, allocations: 1.33 MB / 0.8211 GB, free: 61.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007126/1.362, allocations: 2.207 MB / 0.8232 GB, free: 59.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/1.373, allocations: 7.837 MB / 0.8309 GB, free: 51.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007786/1.381, allocations: 0.4994 MB / 0.8314 GB, free: 50.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/1.383, allocations: 0.5584 MB / 0.8319 GB, free: 50.08 MB / 0.5606 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.007284/1.39, allocations: 3.456 MB / 0.8353 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/1.392, allocations: 0.5244 MB / 0.8358 GB, free: 46.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/1.404, allocations: 5.404 MB / 0.8411 GB, free: 40.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.172e-05/1.404, allocations: 36 kB / 0.8411 GB, free: 40.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.291e-05/1.404, allocations: 8 kB / 0.8411 GB, free: 40.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.684e-05/1.404, allocations: 15.94 kB / 0.8412 GB, free: 40.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0327/1.437, allocations: 13.92 MB / 0.8547 GB, free: 26.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-05/1.437, allocations: 12 kB / 0.8548 GB, free: 26.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.439, allocations: 0.4942 MB / 0.8552 GB, free: 25.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/1.442, allocations: 0.8169 MB / 0.856 GB, free: 25.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004477/1.443, allocations: 75.92 kB / 0.8561 GB, free: 25.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008213/1.451, allocations: 5.813 MB / 0.8618 GB, free: 19.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.451, allocations: 15.94 kB / 0.8618 GB, free: 19.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/1.464, allocations: 8.296 MB / 0.8699 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/1.466, allocations: 0.5644 MB / 0.8704 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009838/1.467, allocations: 67.98 kB / 0.8705 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.469, allocations: 135.9 kB / 0.8706 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005448/1.47, allocations: 221 kB / 0.8709 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/1.47, allocations: 99.98 kB / 0.8709 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005691/1.476, allocations: 3.65 MB / 0.8745 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.395e-06/1.476, allocations: 3.938 kB / 0.8745 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008548/1.484, allocations: 1.621 MB / 0.8761 GB, free: 4.141 MB / 0.5606 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.0008825/1.485, allocations: 262 kB / 0.8763 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01329/1.498, allocations: 7.948 MB / 0.8841 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.498, allocations: 4.062 kB / 0.8841 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004211/1.503, allocations: 2.381 MB / 0.8864 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/1.507, allocations: 0.709 MB / 0.8871 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03077/1.538, allocations: 15.19 MB / 0.902 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008699/1.547, allocations: 5.16 MB / 0.907 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007796/1.554, allocations: 2.958 MB / 0.9099 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/1.556, allocations: 383.4 kB / 0.9103 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/1.556, allocations: 0 / 0.9103 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of Templates: time 0.4012/1.957, allocations: 55.88 MB / 0.9648 GB, free: 215.9 MB / 0.6387 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches