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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8713/0.8713, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.934e-05, allocations: 6.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.008756/0.008775, allocations: 11.76 MB / 336.3 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006655/0.01543, allocations: 4.655 MB / 340.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.01671, allocations: 103.5 kB / 341 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003783/0.0205, allocations: 4.275 MB / 345.3 MB, free: 11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.02482, allocations: 2.247 MB / 347.6 MB, free: 8.742 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.02661, allocations: 1.201 MB / 348.8 MB, free: 7.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005479/0.03209, allocations: 6.814 MB / 355.6 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003967/0.03606, allocations: 4.579 MB / 360.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/0.03952, allocations: 3.278 MB / 363.4 MB, free: 8.781 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.04184, allocations: 3.106 MB / 366.5 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004357/0.04227, allocations: 0.5 MB / 367 MB, free: 5.168 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.04383, allocations: 1.576 MB / 368.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001394/0.04522, allocations: 2.786 MB / 371.4 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.04642, allocations: 1.796 MB / 373.2 MB, free: 15 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005597/0.05202, allocations: 9.838 MB / 383 MB, free: 5.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.05203, allocations: 4 kB / 383 MB, free: 5.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.05203, allocations: 0 / 383 MB, free: 5.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.818e-05/0.05212, allocations: 0 / 383 MB, free: 5.125 MB / 346.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.007074/0.05919, allocations: 6.354 MB / 389.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.05923, allocations: 15.92 kB / 389.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008315/0.06006, allocations: 0.9325 MB / 390.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01868/0.07874, allocations: 6.504 MB / 396.8 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/0.08461, allocations: 3.851 MB / 400.7 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.08476, allocations: 304.3 kB / 401 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005749/0.08534, allocations: 448.2 kB / 401.4 MB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.09767, allocations: 12.41 MB / 413.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-05/0.09776, allocations: 55.58 kB / 413.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/0.09807, allocations: 187.9 kB / 414.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001718/0.09979, allocations: 2.031 MB / 416.1 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.1112, allocations: 10.34 MB / 426.4 MB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1605/0.2717, allocations: 42.04 MB / 468.5 MB, free: 84.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006433/0.2781, allocations: 4.364 MB / 472.9 MB, free: 83.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.2795, allocations: 1.836 MB / 474.7 MB, free: 83.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005292/0.2847, allocations: 5.895 MB / 480.6 MB, free: 80.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2848, allocations: 53.28 kB / 480.6 MB, free: 80.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 3.216e-06/0.2848, allocations: 0 / 480.6 MB, free: 80.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.03054/0.3153, allocations: 20 MB / 0.4889 GB, free: 62.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.3154, allocations: 201.9 kB / 0.4891 GB, free: 62.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003632/0.319, allocations: 5.065 MB / 0.494 GB, free: 57.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.3191, allocations: 61.7 kB / 0.4941 GB, free: 57.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000933/0.32, allocations: 3.662 MB / 0.4977 GB, free: 53.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/0.3204, allocations: 0.8628 MB / 0.4985 GB, free: 52.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008448/0.3212, allocations: 1.262 MB / 0.4998 GB, free: 51.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.318e-05/0.3213, allocations: 301.1 kB / 0.5 GB, free: 51.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.323, allocations: 2.238 MB / 0.5022 GB, free: 49.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/0.3255, allocations: 6.033 MB / 0.5081 GB, free: 41.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005191/0.3307, allocations: 8.915 MB / 0.5168 GB, free: 30.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.722e-05/0.3308, allocations: 43.94 kB / 0.5169 GB, free: 30.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.008273/0.339, allocations: 9.035 MB / 0.5257 GB, free: 21.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.3391, allocations: 64.19 kB / 0.5258 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.65e-05/0.3392, allocations: 136 kB / 0.5259 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.341, allocations: 1.21 MB / 0.5271 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.343, allocations: 1.415 MB / 0.5284 GB, free: 18.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.3488, allocations: 7.843 MB / 0.5361 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.3514, allocations: 405.8 kB / 0.5365 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.3517, allocations: 380 kB / 0.5369 GB, free: 9.977 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 (766): * Single equations (assignments): 762 * 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.002074/0.3537, allocations: 2.479 MB / 0.5393 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.354, allocations: 433.1 kB / 0.5397 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.3577, allocations: 3.873 MB / 0.5435 GB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.3577, allocations: 24 kB / 0.5435 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3578, allocations: 8 kB / 0.5435 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.3578, allocations: 15.89 kB / 0.5435 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009967/0.3677, allocations: 9.634 MB / 0.5529 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3677, allocations: 8 kB / 0.5529 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/0.3685, allocations: 335.5 kB / 0.5533 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.3702, allocations: 0.984 MB / 0.5542 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.3703, allocations: 44 kB / 0.5543 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006009/0.3763, allocations: 6.541 MB / 0.5606 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.3763, allocations: 11.94 kB / 0.5607 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006347/0.3827, allocations: 6.608 MB / 0.5671 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.3831, allocations: 448.9 kB / 0.5675 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/0.3834, allocations: 44 kB / 0.5676 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009188/0.3843, allocations: 155.8 kB / 0.5677 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.3845, allocations: 156.8 kB / 0.5679 GB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.784e-05/0.3846, allocations: 63.91 kB / 0.5679 GB, free: 9.836 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002783/0.3874, allocations: 3.105 MB / 0.571 GB, free: 6.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3874, allocations: 0 / 0.571 GB, free: 6.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003177/0.3906, allocations: 1.289 MB / 0.5722 GB, free: 5.441 MB / 442.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.007307/0.3979, allocations: 7.335 MB / 0.5794 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005418/0.4033, allocations: 5.321 MB / 0.5846 GB, free: 8.715 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4033, allocations: 0 / 0.5846 GB, free: 8.715 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.4048, allocations: 1.711 MB / 0.5863 GB, free: 6.992 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.4064, allocations: 0.5734 MB / 0.5868 GB, free: 6.426 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1777/0.5841, allocations: 52.61 MB / 0.6382 GB, free: 166.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002266/0.5864, allocations: 3.348 MB / 0.6415 GB, free: 165.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002449/0.5888, allocations: 1.955 MB / 0.6434 GB, free: 165 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/0.5903, allocations: 2.3 MB / 0.6456 GB, free: 162.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5903, allocations: 0 / 0.6456 GB, free: 162.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08486/0.6752, allocations: 87 MB / 0.7306 GB, free: 76.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.85, allocations: 8.047 kB / 0.7306 GB, free: 76.74 MB / 490.7 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.126022928394377]