Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2654, allocations: 50.56 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01258/0.278, allocations: 13.45 MB / 422.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00895/0.287, allocations: 4.869 MB / 427.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002462/0.2895, allocations: 95.69 kB / 427.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007189/0.2968, allocations: 4.167 MB / 431.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.3018, allocations: 2.117 MB / 433.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.304, allocations: 1.103 MB / 435 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006865/0.3109, allocations: 6.052 MB / 441.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004949/0.3159, allocations: 5.305 MB / 446.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.3185, allocations: 2.15 MB / 448.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/0.3219, allocations: 2.863 MB / 451.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007422/0.3227, allocations: 0.4922 MB / 451.9 MB, free: 6.762 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.3251, allocations: 1.615 MB / 453.5 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.3271, allocations: 2.552 MB / 456.1 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002517/0.3296, allocations: 2.891 MB / 459 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008737/0.3383, allocations: 9.515 MB / 468.5 MB, free: 6.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3384, allocations: 0 / 468.5 MB, free: 6.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3384, allocations: 0 / 468.5 MB, free: 6.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001989/0.3386, allocations: 0 / 468.5 MB, free: 6.129 MB / 382.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.01205/0.3506, allocations: 6.168 MB / 474.6 MB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3507, allocations: 8.031 kB / 474.7 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.3613, allocations: 2.571 MB / 477.2 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007791/0.3691, allocations: 3.77 MB / 481 MB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.3693, allocations: 308.2 kB / 481.3 MB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.3704, allocations: 443.7 kB / 481.7 MB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.3902, allocations: 12.41 MB / 494.1 MB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.3904, allocations: 55.58 kB / 494.2 MB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000433/0.3908, allocations: 187.9 kB / 494.4 MB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002998/0.3938, allocations: 2.035 MB / 496.4 MB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01951/0.4134, allocations: 10.57 MB / 0.4951 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05094/0.4643, allocations: 44.21 MB / 0.5383 GB, free: 1.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2612/0.7256, allocations: 4.849 MB / 0.543 GB, free: 121.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/0.7278, allocations: 2.009 MB / 0.545 GB, free: 121.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008715/0.7365, allocations: 7.203 MB / 0.552 GB, free: 117.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.7366, allocations: 57.78 kB / 0.5521 GB, free: 117.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 3.857e-06/0.7366, allocations: 0 / 0.5521 GB, free: 117.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.05856/0.7951, allocations: 19.77 MB / 0.5714 GB, free: 103.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.7953, allocations: 213.8 kB / 0.5716 GB, free: 102.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005053/0.8003, allocations: 4.466 MB / 0.5759 GB, free: 98.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003186/0.8007, allocations: 57.7 kB / 0.576 GB, free: 98.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.8022, allocations: 3.658 MB / 0.5796 GB, free: 95.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007028/0.803, allocations: 0.8709 MB / 0.5804 GB, free: 94.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.8043, allocations: 1.349 MB / 0.5817 GB, free: 92.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.8044, allocations: 309.1 kB / 0.582 GB, free: 92.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002686/0.8071, allocations: 2.363 MB / 0.5843 GB, free: 90.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003904/0.811, allocations: 6.171 MB / 0.5904 GB, free: 82.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007731/0.8187, allocations: 9.178 MB / 0.5993 GB, free: 71.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.942e-05/0.8189, allocations: 40 kB / 0.5994 GB, free: 71.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01658/0.8354, allocations: 9.568 MB / 0.6087 GB, free: 61.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/0.8356, allocations: 64 kB / 0.6088 GB, free: 61.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/0.8357, allocations: 132 kB / 0.6089 GB, free: 61.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003726/0.8395, allocations: 1.378 MB / 0.6102 GB, free: 59.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004468/0.844, allocations: 1.474 MB / 0.6117 GB, free: 58.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009632/0.8536, allocations: 8.487 MB / 0.62 GB, free: 49.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0052/0.8589, allocations: 351.5 kB / 0.6203 GB, free: 49.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009122/0.8598, allocations: 392 kB / 0.6207 GB, free: 49.03 MB / 462.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.003621/0.8634, allocations: 2.493 MB / 0.6231 GB, free: 46.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000804/0.8642, allocations: 417.2 kB / 0.6235 GB, free: 46.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007153/0.8714, allocations: 4.13 MB / 0.6275 GB, free: 41.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.414e-05/0.8715, allocations: 24 kB / 0.6276 GB, free: 41.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.8715, allocations: 8 kB / 0.6276 GB, free: 41.94 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/0.8715, allocations: 7.969 kB / 0.6276 GB, free: 41.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.8868, allocations: 10.15 MB / 0.6375 GB, free: 31.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.8869, allocations: 4 kB / 0.6375 GB, free: 31.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.8882, allocations: 335.5 kB / 0.6378 GB, free: 31.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/0.8915, allocations: 1.14 MB / 0.6389 GB, free: 30.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.8917, allocations: 43.98 kB / 0.639 GB, free: 30.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008039/0.8997, allocations: 7.167 MB / 0.646 GB, free: 22.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.8998, allocations: 7.938 kB / 0.646 GB, free: 22.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009556/0.9093, allocations: 6.933 MB / 0.6527 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.9105, allocations: 474.1 kB / 0.6532 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004436/0.911, allocations: 40 kB / 0.6532 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.9125, allocations: 115.8 kB / 0.6533 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/0.9128, allocations: 145.1 kB / 0.6535 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.913, allocations: 60 kB / 0.6535 GB, free: 15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003161/0.9161, allocations: 2.802 MB / 0.6563 GB, free: 12.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9161, allocations: 3.094 kB / 0.6563 GB, free: 12.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004627/0.9208, allocations: 1.198 MB / 0.6574 GB, free: 11 MB / 462.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.0004891/0.9213, allocations: 222.2 kB / 0.6577 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007368/0.9287, allocations: 5.782 MB / 0.6633 GB, free: 5.004 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.9287, allocations: 0 / 0.6633 GB, free: 5.004 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.9309, allocations: 1.888 MB / 0.6651 GB, free: 3.105 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/0.9338, allocations: 0.55 MB / 0.6657 GB, free: 2.562 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/0.9508, allocations: 11.19 MB / 0.6766 GB, free: 7.266 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004291/0.9552, allocations: 3.871 MB / 0.6804 GB, free: 3.359 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004257/0.9594, allocations: 1.934 MB / 0.6823 GB, free: 1.418 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/0.9602, allocations: 267.4 kB / 0.6825 GB, free: 1.156 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.9602, allocations: 0 / 0.6825 GB, free: 1.156 MB / 478.1 MB Notification: Performance of Templates: time 0.07309/1.033, allocations: 41.91 MB / 0.7235 GB, free: 7.508 MB / 0.5137 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches