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.001532/0.001532, allocations: 103.4 kB / 16.27 MB, free: 5.973 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.001996/0.001996, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.561/1.561, allocations: 205.1 MB / 223.1 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.2227/0.2227, allocations: 43.52 MB / 313.9 MB, free: 0.5156 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.001501/0.001502, allocations: 67.08 kB / 382.7 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.123, allocations: 57.78 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01578/0.1388, allocations: 16.38 MB / 456.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.1525, allocations: 5.303 MB / 462.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004345/0.1569, allocations: 99.69 kB / 462.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009004/0.1659, allocations: 4.178 MB / 466.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009615/0.1757, allocations: 2.754 MB / 469.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003829/0.1796, allocations: 1.256 MB / 470.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01205/0.1916, allocations: 7.458 MB / 477.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01303/0.2047, allocations: 5.864 MB / 483.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006889/0.2116, allocations: 2.691 MB / 486.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008046/0.2197, allocations: 3.789 MB / 490.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003202/0.223, allocations: 0.5938 MB / 490.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005929/0.2289, allocations: 1.752 MB / 492.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005766/0.2347, allocations: 3.328 MB / 496 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009558/0.2443, allocations: 3.806 MB / 499.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01954/0.2639, allocations: 11.97 MB / 0.4997 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.2639, allocations: 0 / 0.4997 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.264, allocations: 0 / 0.4997 GB, free: 15.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006595/0.2646, allocations: 0 / 0.4997 GB, free: 15.39 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.02566/0.2903, allocations: 7.894 MB / 0.5074 GB, free: 7.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.2904, allocations: 11.89 kB / 0.5075 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/0.308, allocations: 3.941 MB / 0.5113 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/0.3199, allocations: 4.405 MB / 0.5156 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005028/0.3205, allocations: 402 kB / 0.516 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002945/0.3234, allocations: 0.5503 MB / 0.5165 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5256/0.849, allocations: 18.87 MB / 0.535 GB, free: 76.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003873/0.8495, allocations: 69.5 kB / 0.535 GB, free: 76.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/0.851, allocations: 246.4 kB / 0.5353 GB, free: 76.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007855/0.8589, allocations: 3.44 MB / 0.5386 GB, free: 76.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04434/0.9033, allocations: 16.63 MB / 0.5549 GB, free: 71.05 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.09889/1.002, allocations: 66.93 MB / 0.6202 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0165/1.019, allocations: 6.276 MB / 0.6263 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004744/1.024, allocations: 2.815 MB / 0.6291 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02875/1.052, allocations: 13.86 MB / 0.6426 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.55e-05/1.052, allocations: 72.48 kB / 0.6427 GB, free: 12.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=284): time 6.873e-06/1.052, allocations: 0 / 0.6427 GB, free: 12.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=345): time 0.09723/1.15, allocations: 25.08 MB / 0.6672 GB, free: 3.828 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/1.15, allocations: 184.3 kB / 0.6674 GB, free: 3.609 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01439/1.164, allocations: 5.912 MB / 0.6731 GB, free: 13.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008444/1.165, allocations: 81.67 kB / 0.6732 GB, free: 13.63 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005115/1.17, allocations: 4.954 MB / 0.6781 GB, free: 8.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002144/1.172, allocations: 1.284 MB / 0.6793 GB, free: 7.309 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004934/1.177, allocations: 1.904 MB / 0.6812 GB, free: 5.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/1.178, allocations: 309.1 kB / 0.6815 GB, free: 5.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005536/1.183, allocations: 3.355 MB / 0.6847 GB, free: 1.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009542/1.193, allocations: 8.876 MB / 0.6934 GB, free: 6.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01882/1.212, allocations: 13.18 MB / 0.7063 GB, free: 6.223 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002137/1.212, allocations: 56 kB / 0.7063 GB, free: 6.168 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03248/1.244, allocations: 13 MB / 0.719 GB, free: 9.117 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003385/1.245, allocations: 88 kB / 0.7191 GB, free: 9.031 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005098/1.245, allocations: 192 kB / 0.7193 GB, free: 8.844 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004885/1.25, allocations: 1.325 MB / 0.7206 GB, free: 7.516 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008583/1.259, allocations: 2.207 MB / 0.7227 GB, free: 5.305 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3413/1.6, allocations: 7.845 MB / 0.7304 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008175/1.608, allocations: 0.5055 MB / 0.7309 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002777/1.611, allocations: 0.5514 MB / 0.7314 GB, free: 163.7 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.008609/1.62, allocations: 3.459 MB / 0.7348 GB, free: 163.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.621, allocations: 0.5207 MB / 0.7353 GB, free: 163.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.634, allocations: 5.407 MB / 0.7406 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001147/1.634, allocations: 37.59 kB / 0.7406 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.333e-05/1.634, allocations: 10.11 kB / 0.7406 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.31e-05/1.634, allocations: 19.44 kB / 0.7407 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03413/1.668, allocations: 14.01 MB / 0.7543 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/1.668, allocations: 11 kB / 0.7544 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/1.67, allocations: 0.4969 MB / 0.7548 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/1.674, allocations: 0.823 MB / 0.7556 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000225/1.674, allocations: 70.89 kB / 0.7557 GB, free: 156.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008212/1.682, allocations: 5.809 MB / 0.7614 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/1.682, allocations: 17.03 kB / 0.7614 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.695, allocations: 8.283 MB / 0.7695 GB, free: 150.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002333/1.698, allocations: 0.9241 MB / 0.7704 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/1.699, allocations: 70.53 kB / 0.7705 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002706/1.702, allocations: 130.5 kB / 0.7706 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000465/1.702, allocations: 224.7 kB / 0.7708 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.702, allocations: 98.81 kB / 0.7709 GB, free: 149.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00738/1.71, allocations: 3.679 MB / 0.7745 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.3e-07/1.71, allocations: 0 / 0.7745 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01012/1.72, allocations: 1.653 MB / 0.7761 GB, free: 147.7 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.001216/1.721, allocations: 270.2 kB / 0.7764 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01927/1.74, allocations: 11.32 MB / 0.7874 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-05/1.74, allocations: 4 kB / 0.7874 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004063/1.744, allocations: 2.375 MB / 0.7897 GB, free: 134.7 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006875/1.751, allocations: 0.7043 MB / 0.7904 GB, free: 134 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03544/1.787, allocations: 15.42 MB / 0.8055 GB, free: 118.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01047/1.797, allocations: 5.175 MB / 0.8105 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009081/1.807, allocations: 2.97 MB / 0.8134 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002128/1.809, allocations: 383.4 kB / 0.8138 GB, free: 109.9 MB / 0.5138 GB Notification: Performance of SimCode: time 2.074e-06/1.809, allocations: 0 / 0.8138 GB, free: 109.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.1153/1.924, allocations: 61.06 MB / 0.8734 GB, free: 49.03 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/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