Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_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_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 97.06 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 176.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3493/0.3493, allocations: 43.54 MB / 314.5 MB, free: 9.027 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004628, allocations: 14.97 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 58.87 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2773/0.3988, allocations: 49.87 MB / 492.6 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02851/0.4274, allocations: 12.15 MB / 0.4929 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01287/0.4403, allocations: 251.1 kB / 0.4932 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00941/0.4497, allocations: 2.473 MB / 0.4956 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02811/0.4779, allocations: 7.182 MB / 0.5026 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00599/0.4839, allocations: 1.05 MB / 0.5036 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02953/0.5135, allocations: 16.69 MB / 0.5199 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01271/0.5262, allocations: 6.992 MB / 0.5268 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004902/0.5312, allocations: 1.783 MB / 0.5285 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004984/0.5362, allocations: 2.52 MB / 0.531 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001884/0.5381, allocations: 264 kB / 0.5312 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004278/0.5424, allocations: 1.248 MB / 0.5324 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004721/0.5472, allocations: 2.704 MB / 0.5351 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003313/0.5505, allocations: 1.38 MB / 0.5364 GB, free: 216 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01562/0.5662, allocations: 9.632 MB / 0.5458 GB, free: 6.559 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.5662, allocations: 0 / 0.5458 GB, free: 6.559 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.509e-06/0.5663, allocations: 0 / 0.5458 GB, free: 6.559 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000709/0.567, allocations: 0 / 0.5458 GB, free: 6.559 MB / 414.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.01994/0.5869, allocations: 6.72 MB / 0.5524 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.587, allocations: 8.031 kB / 0.5524 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03298/0.62, allocations: 7.165 MB / 0.5594 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.6329, allocations: 4.91 MB / 0.5642 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005698/0.6335, allocations: 398 kB / 0.5646 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003975/0.6375, allocations: 0.558 MB / 0.5651 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04615/0.6837, allocations: 19.05 MB / 0.5837 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004494/0.6842, allocations: 67.31 kB / 0.5838 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002746/0.687, allocations: 247.7 kB / 0.584 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006095/0.6931, allocations: 3.432 MB / 0.5874 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0424/0.7356, allocations: 16.75 MB / 0.6037 GB, free: 10.02 MB / 478.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.521/1.257, allocations: 66.98 MB / 0.6691 GB, free: 90.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/1.27, allocations: 6.311 MB / 0.6753 GB, free: 88.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02466/1.295, allocations: 13.99 MB / 0.689 GB, free: 81.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/1.295, allocations: 60.56 kB / 0.689 GB, free: 81.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 6.462e-06/1.295, allocations: 0 / 0.689 GB, free: 81.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.08046/1.376, allocations: 26.04 MB / 0.7145 GB, free: 72.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/1.376, allocations: 186 kB / 0.7146 GB, free: 72.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007438/1.383, allocations: 6.254 MB / 0.7207 GB, free: 70.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008312/1.384, allocations: 72.45 kB / 0.7208 GB, free: 70.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002887/1.387, allocations: 4.989 MB / 0.7257 GB, free: 66.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001303/1.388, allocations: 1.283 MB / 0.7269 GB, free: 65.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/1.389, allocations: 192.4 kB / 0.7271 GB, free: 65.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003807/1.389, allocations: 0.706 MB / 0.7278 GB, free: 64.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004149/1.393, allocations: 3.259 MB / 0.731 GB, free: 63.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00602/1.399, allocations: 8.691 MB / 0.7395 GB, free: 53.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005746/1.405, allocations: 5.232 MB / 0.7446 GB, free: 48.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-05/1.405, allocations: 56 kB / 0.7446 GB, free: 48.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.0191/1.424, allocations: 12.73 MB / 0.7571 GB, free: 36.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.693e-05/1.424, allocations: 91.95 kB / 0.7572 GB, free: 35.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/1.424, allocations: 192 kB / 0.7573 GB, free: 35.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003527/1.428, allocations: 1.345 MB / 0.7587 GB, free: 34.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006041/1.434, allocations: 2.164 MB / 0.7608 GB, free: 32.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009593/1.444, allocations: 7.523 MB / 0.7681 GB, free: 24.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006772/1.45, allocations: 0.5004 MB / 0.7686 GB, free: 24.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/1.452, allocations: 0.5567 MB / 0.7691 GB, free: 23.56 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * 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 (1152): * Single equations (assignments): 1145 * 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.00639/1.458, allocations: 3.448 MB / 0.7725 GB, free: 20.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.459, allocations: 0.5322 MB / 0.773 GB, free: 19.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.469, allocations: 5.4 MB / 0.7783 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.165e-05/1.469, allocations: 39.98 kB / 0.7783 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/1.47, allocations: 4 kB / 0.7783 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.855e-05/1.47, allocations: 15.95 kB / 0.7784 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02698/1.497, allocations: 14.03 MB / 0.7921 GB, free: 15.79 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-05/1.497, allocations: 12 kB / 0.7921 GB, free: 15.77 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/1.499, allocations: 0.4883 MB / 0.7925 GB, free: 15.29 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/1.502, allocations: 0.8172 MB / 0.7933 GB, free: 14.46 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003286/1.502, allocations: 70.64 kB / 0.7934 GB, free: 14.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009604/1.512, allocations: 5.561 MB / 0.7988 GB, free: 8.707 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-05/1.512, allocations: 19.94 kB / 0.7989 GB, free: 8.688 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/1.527, allocations: 10.02 MB / 0.8086 GB, free: 14.07 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002857/1.53, allocations: 0.9469 MB / 0.8096 GB, free: 13.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.531, allocations: 70.52 kB / 0.8096 GB, free: 13.04 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/1.533, allocations: 139.3 kB / 0.8098 GB, free: 12.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004313/1.534, allocations: 221.5 kB / 0.81 GB, free: 12.69 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002098/1.534, allocations: 102.7 kB / 0.8101 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006527/1.54, allocations: 3.942 MB / 0.8139 GB, free: 8.68 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.31e-07/1.54, allocations: 4 kB / 0.8139 GB, free: 8.676 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008928/1.549, allocations: 1.651 MB / 0.8155 GB, free: 7.035 MB / 0.5138 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.0009078/1.55, allocations: 266.9 kB / 0.8158 GB, free: 6.781 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.2237/1.774, allocations: 7.743 MB / 0.8234 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.774, allocations: 0 / 0.8234 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003484/1.778, allocations: 2.364 MB / 0.8257 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/1.781, allocations: 0.6447 MB / 0.8263 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02706/1.808, allocations: 18.12 MB / 0.844 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007969/1.816, allocations: 5.313 MB / 0.8492 GB, free: 141.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007273/1.823, allocations: 2.976 MB / 0.8521 GB, free: 141.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.824, allocations: 394 kB / 0.8525 GB, free: 141.4 MB / 0.5138 GB Notification: Performance of SimCode: time 9.41e-07/1.824, allocations: 0 / 0.8525 GB, free: 141.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.09844/1.923, allocations: 57.71 MB / 0.9088 GB, free: 110.7 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches