Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 107.2 kB / 16.41 MB, free: 6.508 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.001156/0.001157, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.568/1.568, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2339/0.2339, allocations: 43.52 MB / 314.1 MB, free: 456 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.001399/0.001399, allocations: 73.45 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1555, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.0211/0.1766, allocations: 17.8 MB / 0.5052 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.1923, allocations: 5.66 MB / 0.5108 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004755/0.1971, allocations: 107.8 kB / 0.5109 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.2074, allocations: 4.59 MB / 0.5154 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01308/0.2206, allocations: 3.113 MB / 0.5184 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005084/0.2257, allocations: 1.498 MB / 0.5199 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01658/0.2423, allocations: 8.616 MB / 0.5283 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3747/0.6171, allocations: 6.449 MB / 0.5346 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007891/0.625, allocations: 3.035 MB / 0.5375 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01068/0.6357, allocations: 4.287 MB / 0.5417 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005396/0.6412, allocations: 0.6633 MB / 0.5424 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009862/0.6511, allocations: 1.839 MB / 0.5442 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00894/0.6601, allocations: 3.759 MB / 0.5478 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01269/0.6728, allocations: 4.22 MB / 0.552 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.029/0.7018, allocations: 13.59 MB / 0.5652 GB, free: 15.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.7018, allocations: 0 / 0.5652 GB, free: 15.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.7019, allocations: 0 / 0.5652 GB, free: 15.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007605/0.7026, allocations: 0 / 0.5652 GB, free: 15.05 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.03762/0.7403, allocations: 9.037 MB / 0.5741 GB, free: 9.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.202e-05/0.7404, allocations: 15.02 kB / 0.5741 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01967/0.7601, allocations: 4.105 MB / 0.5781 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.7754, allocations: 5.376 MB / 0.5833 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000499/0.776, allocations: 433.9 kB / 0.5837 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004265/0.7803, allocations: 0.6018 MB / 0.5843 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05058/0.8309, allocations: 20.63 MB / 0.6045 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00048/0.8314, allocations: 77.19 kB / 0.6046 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003089/0.8345, allocations: 274.8 kB / 0.6048 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006553/0.8411, allocations: 3.709 MB / 0.6084 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04488/0.886, allocations: 18.2 MB / 0.6262 GB, free: 6.945 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.1257/1.012, allocations: 74.29 MB / 0.6988 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0184/1.03, allocations: 7.467 MB / 0.7061 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005978/1.036, allocations: 4.104 MB / 0.7101 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03168/1.068, allocations: 18.21 MB / 0.7279 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/1.068, allocations: 63.41 kB / 0.7279 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=335): time 6.953e-06/1.068, allocations: 4 kB / 0.7279 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=419): time 0.5157/1.584, allocations: 35.11 MB / 0.7622 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/1.584, allocations: 198.2 kB / 0.7624 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01622/1.6, allocations: 6.511 MB / 0.7687 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001594/1.602, allocations: 88.09 kB / 0.7688 GB, free: 199 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.006242/1.608, allocations: 5.376 MB / 0.7741 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002858/1.611, allocations: 1.538 MB / 0.7756 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004488/1.615, allocations: 2.137 MB / 0.7777 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.907e-05/1.616, allocations: 301.7 kB / 0.778 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009642/1.625, allocations: 4.331 MB / 0.7822 GB, free: 191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01251/1.638, allocations: 10.28 MB / 0.7922 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01912/1.657, allocations: 15.67 MB / 0.8075 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003104/1.657, allocations: 62.31 kB / 0.8076 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03984/1.697, allocations: 16.36 MB / 0.8236 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000388/1.698, allocations: 96.19 kB / 0.8237 GB, free: 161 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004654/1.698, allocations: 211.7 kB / 0.8239 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007288/1.705, allocations: 2.366 MB / 0.8262 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008593/1.714, allocations: 2.464 MB / 0.8286 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/1.731, allocations: 12.75 MB / 0.841 GB, free: 145.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01121/1.742, allocations: 0.58 MB / 0.8416 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002178/1.744, allocations: 0.6034 MB / 0.8422 GB, free: 144.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1316): * Single equations (assignments): 1309 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007631/1.752, allocations: 3.782 MB / 0.8459 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/1.754, allocations: 0.5901 MB / 0.8464 GB, free: 140.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/1.769, allocations: 8.324 MB / 0.8546 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.822e-05/1.769, allocations: 60.84 kB / 0.8546 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/1.769, allocations: 12 kB / 0.8546 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/1.769, allocations: 19.94 kB / 0.8547 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03186/1.801, allocations: 18.85 MB / 0.8731 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/1.801, allocations: 15.94 kB / 0.8731 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/1.804, allocations: 0.6201 MB / 0.8737 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005728/1.809, allocations: 1.813 MB / 0.8755 GB, free: 110.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002828/1.81, allocations: 83.67 kB / 0.8755 GB, free: 110.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/1.823, allocations: 10.83 MB / 0.8861 GB, free: 99.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/1.823, allocations: 19.94 kB / 0.8861 GB, free: 99.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/1.842, allocations: 12.47 MB / 0.8983 GB, free: 86.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003925/1.846, allocations: 1.169 MB / 0.8995 GB, free: 85.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/1.847, allocations: 75.98 kB / 0.8995 GB, free: 85.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/1.85, allocations: 199.8 kB / 0.8997 GB, free: 84.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006767/1.851, allocations: 267.6 kB / 0.9 GB, free: 84.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002601/1.851, allocations: 118.6 kB / 0.9001 GB, free: 84.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006724/1.858, allocations: 4.052 MB / 0.904 GB, free: 80.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3e-07/1.858, allocations: 0 / 0.904 GB, free: 80.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01174/1.869, allocations: 1.95 MB / 0.9059 GB, free: 78.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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 (331): * Single equations (assignments): 324 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/1.871, allocations: 297 kB / 0.9062 GB, free: 78.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01871/1.889, allocations: 10.17 MB / 0.9162 GB, free: 68.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.491e-05/1.889, allocations: 4.812 kB / 0.9162 GB, free: 68.06 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007983/1.897, allocations: 3.383 MB / 0.9195 GB, free: 64.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0118/1.909, allocations: 0.8064 MB / 0.9203 GB, free: 63.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04814/1.957, allocations: 17.7 MB / 0.9375 GB, free: 45.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009549/1.967, allocations: 5.608 MB / 0.943 GB, free: 40.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008337/1.975, allocations: 3.316 MB / 0.9463 GB, free: 37.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/1.977, allocations: 419.4 kB / 0.9467 GB, free: 36.61 MB / 0.5919 GB Notification: Performance of SimCode: time 1.723e-06/1.977, allocations: 0 / 0.9467 GB, free: 36.61 MB / 0.5919 GB Notification: Performance of Templates: time 0.4763/2.453, allocations: 69.8 MB / 1.015 GB, free: 171.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches