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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 205.1 MB / 223.8 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 97.11 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007566/0.0007567, allocations: 35.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1728, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.03246/0.2052, allocations: 55.46 MB / 429.3 MB, free: 9.844 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02054/0.2258, allocations: 11.92 MB / 441.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00839/0.2342, allocations: 243.4 kB / 441.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006496/0.2408, allocations: 4.204 MB / 445.6 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.245, allocations: 2.028 MB / 447.7 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.2468, allocations: 1.002 MB / 448.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007451/0.2543, allocations: 8.254 MB / 456.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004827/0.2591, allocations: 5.218 MB / 462.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.2612, allocations: 1.912 MB / 464.1 MB, free: 6.926 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00273/0.2639, allocations: 3.05 MB / 467.1 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005318/0.2644, allocations: 344 kB / 467.4 MB, free: 3.531 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.2667, allocations: 1.549 MB / 469 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00169/0.2684, allocations: 2.455 MB / 471.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002093/0.2705, allocations: 2.758 MB / 474.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007727/0.2782, allocations: 9.175 MB / 483.4 MB, free: 3.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2783, allocations: 7.938 kB / 483.4 MB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2783, allocations: 0 / 483.4 MB, free: 3.535 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001084/0.2784, allocations: 0 / 483.4 MB, free: 3.535 MB / 362.7 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.00883/0.2872, allocations: 6.036 MB / 489.4 MB, free: 13.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2873, allocations: 8.031 kB / 489.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009754/0.297, allocations: 2.537 MB / 492 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007334/0.3044, allocations: 3.847 MB / 495.8 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.3046, allocations: 308.3 kB / 496.1 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006596/0.3052, allocations: 439.6 kB / 496.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1464/0.4517, allocations: 12.41 MB / 0.497 GB, free: 105.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.4518, allocations: 50.14 kB / 0.4971 GB, free: 105.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003852/0.4522, allocations: 191 kB / 0.4972 GB, free: 105.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002644/0.4549, allocations: 2.032 MB / 0.4992 GB, free: 104.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.4704, allocations: 10.56 MB / 0.5095 GB, free: 99.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03347/0.5039, allocations: 44.38 MB / 0.5529 GB, free: 54.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009842/0.5137, allocations: 4.847 MB / 0.5576 GB, free: 49.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.5155, allocations: 2.004 MB / 0.5596 GB, free: 47.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007641/0.5232, allocations: 7.113 MB / 0.5665 GB, free: 39.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.5232, allocations: 55.56 kB / 0.5666 GB, free: 39.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=179): time 3.547e-06/0.5232, allocations: 3.984 kB / 0.5666 GB, free: 39.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.0524/0.5756, allocations: 19.65 MB / 0.5858 GB, free: 20.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.5757, allocations: 205.9 kB / 0.586 GB, free: 19.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.5796, allocations: 4.489 MB / 0.5904 GB, free: 15.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.5797, allocations: 57.7 kB / 0.5904 GB, free: 15.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.5809, allocations: 3.521 MB / 0.5938 GB, free: 11.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.5813, allocations: 0.8328 MB / 0.5947 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/0.5826, allocations: 1.356 MB / 0.596 GB, free: 9.609 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.205e-05/0.5826, allocations: 305.1 kB / 0.5963 GB, free: 9.309 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/0.5853, allocations: 2.363 MB / 0.5986 GB, free: 6.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003874/0.5892, allocations: 6.171 MB / 0.6046 GB, free: 14.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008961/0.5982, allocations: 9.159 MB / 0.6136 GB, free: 3.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-05/0.5983, allocations: 40 kB / 0.6136 GB, free: 3.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01529/0.6136, allocations: 9.545 MB / 0.6229 GB, free: 10.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.741e-05/0.6137, allocations: 60.19 kB / 0.623 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.6138, allocations: 136 kB / 0.6231 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003849/0.6177, allocations: 1.374 MB / 0.6244 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004678/0.6224, allocations: 1.474 MB / 0.6259 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.6336, allocations: 7.978 MB / 0.6337 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004057/0.6377, allocations: 351.5 kB / 0.634 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005777/0.6383, allocations: 384 kB / 0.6344 GB, free: 14.4 MB / 426.7 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.003226/0.6415, allocations: 2.493 MB / 0.6368 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006388/0.6421, allocations: 398.8 kB / 0.6372 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007713/0.6499, allocations: 4.134 MB / 0.6412 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-05/0.6499, allocations: 24 kB / 0.6412 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/0.65, allocations: 8 kB / 0.6413 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/0.65, allocations: 11.97 kB / 0.6413 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1619/0.8119, allocations: 10.36 MB / 0.6514 GB, free: 137.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.812, allocations: 3.906 kB / 0.6514 GB, free: 137.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.8133, allocations: 346.5 kB / 0.6517 GB, free: 137.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/0.8169, allocations: 1.146 MB / 0.6528 GB, free: 137.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/0.8171, allocations: 43.62 kB / 0.6529 GB, free: 137.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008282/0.8253, allocations: 6.665 MB / 0.6594 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.8254, allocations: 10.56 kB / 0.6594 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06991/0.8953, allocations: 43.62 MB / 0.702 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.8967, allocations: 0.7266 MB / 0.7027 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/0.897, allocations: 47.44 kB / 0.7027 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.8985, allocations: 111.4 kB / 0.7029 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/0.8988, allocations: 145.8 kB / 0.703 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.8989, allocations: 71.92 kB / 0.7031 GB, free: 102.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002878/0.9018, allocations: 2.818 MB / 0.7058 GB, free: 99.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9018, allocations: 0 / 0.7058 GB, free: 99.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004898/0.9067, allocations: 1.602 MB / 0.7074 GB, free: 97.71 MB / 426.7 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.000488/0.9072, allocations: 235.4 kB / 0.7076 GB, free: 97.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00651/0.9137, allocations: 5.742 MB / 0.7132 GB, free: 91.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.9138, allocations: 7.375 kB / 0.7132 GB, free: 91.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.9157, allocations: 1.867 MB / 0.715 GB, free: 89.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.9184, allocations: 0.5011 MB / 0.7155 GB, free: 89.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.9347, allocations: 15.3 MB / 0.7305 GB, free: 74.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/0.938, allocations: 3.954 MB / 0.7343 GB, free: 70.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004199/0.9422, allocations: 1.96 MB / 0.7362 GB, free: 68.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007231/0.943, allocations: 279.4 kB / 0.7365 GB, free: 67.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.943, allocations: 0 / 0.7365 GB, free: 67.85 MB / 426.7 MB Notification: Performance of Templates: time 0.07048/1.013, allocations: 56.15 MB / 0.7913 GB, free: 11.75 MB / 426.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","../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