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.001172/0.001172, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3211/0.3211, allocations: 46.09 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 76.22 kB / 418.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1251, allocations: 62.45 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01706/0.1422, allocations: 16.22 MB / 496.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.1535, allocations: 5.357 MB / 0.4905 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.1561, allocations: 103.7 kB / 0.4906 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008342/0.1645, allocations: 4.154 MB / 0.4947 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007464/0.172, allocations: 2.716 MB / 0.4973 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.1753, allocations: 1.263 MB / 0.4985 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2467/0.4221, allocations: 7.708 MB / 0.5061 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01176/0.4339, allocations: 5.846 MB / 0.5118 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00672/0.4407, allocations: 2.663 MB / 0.5144 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008387/0.4491, allocations: 3.773 MB / 0.5181 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003139/0.4523, allocations: 0.5933 MB / 0.5186 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006265/0.4585, allocations: 1.752 MB / 0.5204 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006479/0.4651, allocations: 3.276 MB / 0.5236 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01046/0.4756, allocations: 3.768 MB / 0.5272 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01975/0.4954, allocations: 11.88 MB / 0.5388 GB, free: 3.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.4954, allocations: 3.984 kB / 0.5388 GB, free: 3.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4954, allocations: 0 / 0.5388 GB, free: 3.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006259/0.4961, allocations: 3.188 kB / 0.5388 GB, free: 3.281 MB / 382.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.02408/0.5202, allocations: 7.838 MB / 0.5465 GB, free: 14.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.5203, allocations: 13.06 kB / 0.5465 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/0.5385, allocations: 3.939 MB / 0.5504 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.5503, allocations: 4.175 MB / 0.5544 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004862/0.5508, allocations: 398.5 kB / 0.5548 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00302/0.5538, allocations: 0.5624 MB / 0.5554 GB, free: 6.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04586/0.5997, allocations: 18.88 MB / 0.5738 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004099/0.6002, allocations: 70.17 kB / 0.5739 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002567/0.6028, allocations: 248.5 kB / 0.5741 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005944/0.6087, allocations: 3.426 MB / 0.5774 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0392/0.648, allocations: 16.64 MB / 0.5937 GB, free: 14.66 MB / 446.1 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.09485/0.7429, allocations: 66.89 MB / 0.659 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/0.7596, allocations: 6.278 MB / 0.6652 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004958/0.7646, allocations: 2.834 MB / 0.6679 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02559/0.7903, allocations: 13.94 MB / 0.6815 GB, free: 2.797 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/0.7903, allocations: 63.47 kB / 0.6816 GB, free: 2.73 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=284): time 7.344e-06/0.7904, allocations: 3.938 kB / 0.6816 GB, free: 2.727 MB / 0.5138 GB Notification: Performance of matching and sorting (n=345): time 0.09095/0.8813, allocations: 24.83 MB / 0.7059 GB, free: 9.941 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.8815, allocations: 188.3 kB / 0.706 GB, free: 9.719 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/0.8934, allocations: 5.884 MB / 0.7118 GB, free: 3.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007278/0.8942, allocations: 73.7 kB / 0.7118 GB, free: 3.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2479/1.142, allocations: 4.941 MB / 0.7167 GB, free: 188.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001854/1.144, allocations: 1.284 MB / 0.7179 GB, free: 188.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003886/1.148, allocations: 1.905 MB / 0.7198 GB, free: 188.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.9e-05/1.148, allocations: 305.4 kB / 0.7201 GB, free: 187.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006589/1.155, allocations: 3.362 MB / 0.7234 GB, free: 186.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00969/1.164, allocations: 8.879 MB / 0.732 GB, free: 178.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01649/1.181, allocations: 13.2 MB / 0.7449 GB, free: 167.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003455/1.181, allocations: 54.88 kB / 0.745 GB, free: 167.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02762/1.209, allocations: 13 MB / 0.7577 GB, free: 162.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/1.209, allocations: 90.34 kB / 0.7578 GB, free: 162.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002301/1.209, allocations: 190.6 kB / 0.7579 GB, free: 162.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003876/1.213, allocations: 1.33 MB / 0.7592 GB, free: 162.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00682/1.22, allocations: 2.21 MB / 0.7614 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/1.231, allocations: 7.848 MB / 0.7691 GB, free: 156.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007565/1.238, allocations: 0.5036 MB / 0.7696 GB, free: 156.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/1.24, allocations: 0.5523 MB / 0.7701 GB, free: 155.8 MB / 0.545 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.005849/1.246, allocations: 3.45 MB / 0.7735 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009501/1.246, allocations: 0.5279 MB / 0.774 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009809/1.256, allocations: 5.393 MB / 0.7792 GB, free: 147.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.878e-05/1.256, allocations: 37.09 kB / 0.7793 GB, free: 147.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.256, allocations: 15.94 kB / 0.7793 GB, free: 147.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.157e-05/1.256, allocations: 21.69 kB / 0.7793 GB, free: 147.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.028/1.284, allocations: 14 MB / 0.793 GB, free: 135.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/1.284, allocations: 19.45 kB / 0.793 GB, free: 135.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/1.287, allocations: 0.4916 MB / 0.7935 GB, free: 134.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003132/1.29, allocations: 0.8176 MB / 0.7943 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003927/1.29, allocations: 71.92 kB / 0.7944 GB, free: 133.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007927/1.298, allocations: 5.812 MB / 0.8 GB, free: 128 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/1.298, allocations: 19.94 kB / 0.8 GB, free: 128 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/1.311, allocations: 8.298 MB / 0.8081 GB, free: 119.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/1.313, allocations: 0.5604 MB / 0.8087 GB, free: 118.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/1.314, allocations: 60 kB / 0.8088 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/1.317, allocations: 147.3 kB / 0.8089 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004542/1.317, allocations: 217.5 kB / 0.8091 GB, free: 118.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/1.317, allocations: 99.98 kB / 0.8092 GB, free: 118.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004757/1.322, allocations: 3.65 MB / 0.8128 GB, free: 114.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/1.322, allocations: 0 / 0.8128 GB, free: 114.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007251/1.329, allocations: 1.623 MB / 0.8143 GB, free: 113.1 MB / 0.545 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.0006134/1.33, allocations: 260.2 kB / 0.8146 GB, free: 112.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01722/1.347, allocations: 11.33 MB / 0.8257 GB, free: 101.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/1.347, allocations: 0.75 kB / 0.8257 GB, free: 101.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003321/1.35, allocations: 2.385 MB / 0.828 GB, free: 99.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/1.354, allocations: 0.7099 MB / 0.8287 GB, free: 98.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02305/1.378, allocations: 16.12 MB / 0.8444 GB, free: 82.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005187/1.383, allocations: 5.148 MB / 0.8495 GB, free: 76.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/1.384, allocations: 459.4 kB / 0.8499 GB, free: 76.5 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.384, allocations: 0 / 0.8499 GB, free: 76.5 MB / 0.545 GB Notification: Performance of Templates: time 0.4282/1.813, allocations: 125.7 MB / 0.9726 GB, free: 130.9 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches