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.001853/0.001861, allocations: 112.7 kB / 17.04 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0025/0.0025, allocations: 195 kB / 17.98 MB, free: 5.016 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.671/1.671, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2298/0.2298, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 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.001495/0.001495, allocations: 65.66 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1206, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01561/0.1363, allocations: 16.38 MB / 458.3 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1491, allocations: 5.288 MB / 463.6 MB, free: 416 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00371/0.1529, allocations: 99.69 kB / 463.7 MB, free: 316 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007943/0.1608, allocations: 4.182 MB / 467.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007533/0.1684, allocations: 2.758 MB / 470.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.1716, allocations: 1.271 MB / 471.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.1821, allocations: 7.445 MB / 479.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009135/0.1912, allocations: 5.852 MB / 485.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006765/0.198, allocations: 2.695 MB / 487.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007188/0.2053, allocations: 3.785 MB / 491.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002718/0.208, allocations: 0.5977 MB / 492.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004765/0.2128, allocations: 1.748 MB / 494.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004151/0.217, allocations: 3.328 MB / 497.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006608/0.2236, allocations: 3.81 MB / 0.4895 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.2387, allocations: 12.38 MB / 0.5015 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2387, allocations: 0 / 0.5015 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2387, allocations: 0 / 0.5015 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004288/0.2391, allocations: 0 / 0.5015 GB, free: 14.24 MB / 398.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.01973/0.2589, allocations: 7.894 MB / 0.5093 GB, free: 6.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.2589, allocations: 11.89 kB / 0.5093 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/0.274, allocations: 3.941 MB / 0.5131 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.2845, allocations: 4.475 MB / 0.5175 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004069/0.2849, allocations: 398 kB / 0.5179 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002811/0.2878, allocations: 0.5542 MB / 0.5184 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4711/0.7588, allocations: 18.87 MB / 0.5368 GB, free: 76.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002753/0.7591, allocations: 64.88 kB / 0.5369 GB, free: 76.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001/0.7602, allocations: 254.4 kB / 0.5371 GB, free: 76.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005951/0.7661, allocations: 3.428 MB / 0.5405 GB, free: 76.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03571/0.8019, allocations: 16.63 MB / 0.5567 GB, free: 70.3 MB / 414.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.08681/0.8887, allocations: 66.62 MB / 0.6218 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/0.9039, allocations: 6.271 MB / 0.6279 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004666/0.9086, allocations: 2.819 MB / 0.6307 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02693/0.9356, allocations: 13.87 MB / 0.6442 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.313e-05/0.9357, allocations: 56.56 kB / 0.6443 GB, free: 12.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=284): time 7.294e-06/0.9358, allocations: 0 / 0.6443 GB, free: 12.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=345): time 0.08971/1.025, allocations: 25.07 MB / 0.6688 GB, free: 2.977 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/1.026, allocations: 192.3 kB / 0.6689 GB, free: 2.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/1.036, allocations: 5.908 MB / 0.6747 GB, free: 12.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009349/1.037, allocations: 76.98 kB / 0.6748 GB, free: 12.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004523/1.042, allocations: 4.958 MB / 0.6796 GB, free: 7.758 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002375/1.044, allocations: 1.284 MB / 0.6809 GB, free: 6.457 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003045/1.047, allocations: 1.908 MB / 0.6827 GB, free: 4.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/1.047, allocations: 309 kB / 0.683 GB, free: 4.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005683/1.053, allocations: 3.357 MB / 0.6863 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/1.064, allocations: 8.873 MB / 0.695 GB, free: 5.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01802/1.082, allocations: 13.18 MB / 0.7078 GB, free: 5.359 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002032/1.082, allocations: 56 kB / 0.7079 GB, free: 5.305 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02995/1.112, allocations: 13 MB / 0.7206 GB, free: 8.258 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/1.112, allocations: 88 kB / 0.7207 GB, free: 8.172 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002634/1.112, allocations: 192 kB / 0.7209 GB, free: 7.984 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004446/1.117, allocations: 1.322 MB / 0.7222 GB, free: 6.66 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008444/1.125, allocations: 2.203 MB / 0.7243 GB, free: 4.453 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3277/1.453, allocations: 7.843 MB / 0.732 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/1.464, allocations: 0.5036 MB / 0.7325 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002607/1.466, allocations: 0.5587 MB / 0.733 GB, free: 163.4 MB / 0.5138 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.01102/1.477, allocations: 3.454 MB / 0.7364 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001809/1.479, allocations: 0.5253 MB / 0.7369 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/1.493, allocations: 5.404 MB / 0.7422 GB, free: 161.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.281e-05/1.494, allocations: 44.53 kB / 0.7422 GB, free: 161.7 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.921e-05/1.494, allocations: 7.656 kB / 0.7422 GB, free: 161.7 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.678e-05/1.494, allocations: 15.62 kB / 0.7422 GB, free: 161.7 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03299/1.527, allocations: 13.92 MB / 0.7558 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-05/1.527, allocations: 7.906 kB / 0.7558 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/1.529, allocations: 0.4953 MB / 0.7563 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003206/1.532, allocations: 0.8127 MB / 0.7571 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003238/1.533, allocations: 75.41 kB / 0.7572 GB, free: 156.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00869/1.541, allocations: 5.8 MB / 0.7628 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.828e-05/1.541, allocations: 18 kB / 0.7629 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/1.557, allocations: 8.292 MB / 0.771 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003881/1.561, allocations: 0.9285 MB / 0.7719 GB, free: 149.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001335/1.562, allocations: 64.19 kB / 0.7719 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002849/1.565, allocations: 141.2 kB / 0.7721 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004846/1.566, allocations: 216.8 kB / 0.7723 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.566, allocations: 103.1 kB / 0.7724 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006756/1.573, allocations: 3.674 MB / 0.776 GB, free: 147.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.91e-07/1.573, allocations: 3.812 kB / 0.776 GB, free: 147.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01003/1.583, allocations: 1.653 MB / 0.7776 GB, free: 147.1 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 (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.001027/1.584, allocations: 267.6 kB / 0.7778 GB, free: 146.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.596, allocations: 7.933 MB / 0.7856 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.05e-05/1.596, allocations: 7.844 kB / 0.7856 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003637/1.6, allocations: 2.38 MB / 0.7879 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/1.604, allocations: 0.6981 MB / 0.7886 GB, free: 136.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/1.638, allocations: 15.24 MB / 0.8035 GB, free: 121.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009585/1.647, allocations: 5.173 MB / 0.8085 GB, free: 116.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008117/1.656, allocations: 2.968 MB / 0.8114 GB, free: 113.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/1.657, allocations: 383.4 kB / 0.8118 GB, free: 112.8 MB / 0.5138 GB Notification: Performance of SimCode: time 1.944e-06/1.657, allocations: 4 kB / 0.8118 GB, free: 112.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.09716/1.754, allocations: 52.97 MB / 0.8635 GB, free: 60.14 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches