Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.001684/0.001684, allocations: 191 kB / 19.29 MB, free: 3.715 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.375/1.375, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.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.001215/0.001216, allocations: 51.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.09715, allocations: 46.63 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0137/0.1109, allocations: 13.52 MB / 342.3 MB, free: 6.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009955/0.1209, allocations: 4.866 MB / 347.1 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.1232, allocations: 87.75 kB / 347.2 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007782/0.131, allocations: 4.186 MB / 351.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007567/0.1387, allocations: 2.152 MB / 353.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.1417, allocations: 1.1 MB / 354.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00841/0.1502, allocations: 5.642 MB / 360.3 MB, free: 4.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007254/0.1575, allocations: 5.313 MB / 365.6 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004333/0.1618, allocations: 2.169 MB / 367.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004411/0.1663, allocations: 2.87 MB / 370.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.1681, allocations: 0.4922 MB / 371.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003582/0.1717, allocations: 1.627 MB / 372.8 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003322/0.175, allocations: 2.584 MB / 375.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005174/0.1802, allocations: 2.906 MB / 378.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1857/0.3659, allocations: 9.525 MB / 387.8 MB, free: 25.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.366, allocations: 0 / 387.8 MB, free: 25.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.366, allocations: 1.125 kB / 387.8 MB, free: 25.83 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003814/0.3664, allocations: 0 / 387.8 MB, free: 25.83 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.02186/0.3882, allocations: 6.035 MB / 393.8 MB, free: 23.53 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.3883, allocations: 9.719 kB / 393.8 MB, free: 23.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.4006, allocations: 2.542 MB / 396.4 MB, free: 23.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.4114, allocations: 3.917 MB / 400.3 MB, free: 22.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/0.4118, allocations: 307.2 kB / 400.6 MB, free: 22.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002477/0.4143, allocations: 442.9 kB / 401 MB, free: 22.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02445/0.4388, allocations: 12.41 MB / 413.4 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001788/0.439, allocations: 50.28 kB / 413.5 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007944/0.4398, allocations: 190.9 kB / 413.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002689/0.4425, allocations: 2.033 MB / 415.7 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/0.4636, allocations: 10.57 MB / 426.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06631/0.5299, allocations: 44.13 MB / 470.4 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/0.5435, allocations: 4.841 MB / 475.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003855/0.5474, allocations: 2.012 MB / 477.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01719/0.5647, allocations: 7.108 MB / 484.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.5648, allocations: 54.84 kB / 484.4 MB, free: 9.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 6.472e-06/0.5648, allocations: 0 / 484.4 MB, free: 9.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=223): time 0.07334/0.6381, allocations: 19.65 MB / 0.4922 GB, free: 5.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.6384, allocations: 205.9 kB / 0.4924 GB, free: 5.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/0.6486, allocations: 4.491 MB / 0.4968 GB, free: 1.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005599/0.6492, allocations: 57.7 kB / 0.4969 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002991/0.6522, allocations: 3.521 MB / 0.5003 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001305/0.6535, allocations: 0.8384 MB / 0.5011 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002241/0.6558, allocations: 1.344 MB / 0.5024 GB, free: 11.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6559, allocations: 301.1 kB / 0.5027 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003848/0.6598, allocations: 2.374 MB / 0.505 GB, free: 8.594 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006201/0.666, allocations: 6.155 MB / 0.5111 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/0.6779, allocations: 9.171 MB / 0.52 GB, free: 6.148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001302/0.6781, allocations: 40 kB / 0.5201 GB, free: 6.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.2268/0.9048, allocations: 9.543 MB / 0.5294 GB, free: 142 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.905, allocations: 65.61 kB / 0.5294 GB, free: 142 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002459/0.9053, allocations: 136 kB / 0.5296 GB, free: 142 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004449/0.9097, allocations: 1.375 MB / 0.5309 GB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005271/0.915, allocations: 1.47 MB / 0.5323 GB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.9262, allocations: 8.502 MB / 0.5406 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005647/0.9319, allocations: 354 kB / 0.541 GB, free: 138.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/0.933, allocations: 396.3 kB / 0.5414 GB, free: 138.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * 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 {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004389/0.9374, allocations: 2.484 MB / 0.5438 GB, free: 137.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008905/0.9383, allocations: 399.2 kB / 0.5442 GB, free: 137.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007508/0.9458, allocations: 4.123 MB / 0.5482 GB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/0.9459, allocations: 25.72 kB / 0.5482 GB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.9459, allocations: 7.312 kB / 0.5482 GB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.9459, allocations: 12.56 kB / 0.5482 GB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01895/0.9649, allocations: 10.29 MB / 0.5583 GB, free: 129.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.9649, allocations: 4 kB / 0.5583 GB, free: 129.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.9665, allocations: 349.8 kB / 0.5586 GB, free: 129.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003523/0.97, allocations: 1.145 MB / 0.5597 GB, free: 128.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002082/0.9702, allocations: 42.19 kB / 0.5598 GB, free: 128.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008348/0.9786, allocations: 7.125 MB / 0.5667 GB, free: 121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9786, allocations: 8 kB / 0.5668 GB, free: 121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.9887, allocations: 6.912 MB / 0.5735 GB, free: 114.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/0.9912, allocations: 0.7345 MB / 0.5742 GB, free: 113.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000858/0.9921, allocations: 41.33 kB / 0.5743 GB, free: 113.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.9937, allocations: 111.9 kB / 0.5744 GB, free: 113.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/0.9941, allocations: 136.6 kB / 0.5745 GB, free: 113.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.9943, allocations: 65.39 kB / 0.5746 GB, free: 113.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003849/0.9981, allocations: 2.822 MB / 0.5773 GB, free: 110.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.933e-06/0.9981, allocations: 0 / 0.5773 GB, free: 110.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005852/1.004, allocations: 1.218 MB / 0.5785 GB, free: 109.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * 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 {(1,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.0006475/1.005, allocations: 237 kB / 0.5787 GB, free: 109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007277/1.012, allocations: 5.773 MB / 0.5844 GB, free: 103.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.012, allocations: 4 kB / 0.5844 GB, free: 103.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002083/1.014, allocations: 1.87 MB / 0.5862 GB, free: 101.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/1.017, allocations: 0.539 MB / 0.5867 GB, free: 100.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/1.033, allocations: 11.05 MB / 0.5975 GB, free: 89.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003506/1.037, allocations: 3.873 MB / 0.6013 GB, free: 85.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003967/1.041, allocations: 1.926 MB / 0.6032 GB, free: 83.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007518/1.042, allocations: 271.4 kB / 0.6034 GB, free: 83.64 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/1.042, allocations: 4 kB / 0.6034 GB, free: 83.64 MB / 430.1 MB Notification: Performance of Templates: time 0.06787/1.109, allocations: 40.35 MB / 0.6428 GB, free: 43.42 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches