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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 116 kB / 18.45 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 194.9 kB / 21.4 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 207.6 MB / 231.8 MB, free: 3.977 MB / 174.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001592/0.001592, allocations: 55.92 kB / 342.3 MB, free: 10.13 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.09825, allocations: 49.12 MB / 391.4 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01579/0.114, allocations: 13.59 MB / 405 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.1248, allocations: 4.882 MB / 409.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.1269, allocations: 87.75 kB / 409.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007694/0.1346, allocations: 4.245 MB / 414.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005689/0.1403, allocations: 2.21 MB / 416.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.1428, allocations: 1.103 MB / 417.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008434/0.1512, allocations: 5.631 MB / 423.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00565/0.1568, allocations: 4.423 MB / 427.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.1602, allocations: 2.169 MB / 429.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004518/0.1647, allocations: 3.1 MB / 432.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.1658, allocations: 0.4922 MB / 433.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.1688, allocations: 1.674 MB / 435 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.1716, allocations: 2.684 MB / 437.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003951/0.1756, allocations: 2.972 MB / 440.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.1875, allocations: 9.726 MB / 450.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1875, allocations: 0 / 450.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1875, allocations: 0 / 450.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002601/0.1878, allocations: 0 / 450.4 MB, free: 13.6 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.0141/0.2019, allocations: 6.394 MB / 456.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.2019, allocations: 12.03 kB / 456.8 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001533/0.2035, allocations: 0.9325 MB / 457.7 MB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03505/0.2385, allocations: 6.066 MB / 463.8 MB, free: 84 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1972/0.4357, allocations: 4.784 MB / 468.5 MB, free: 58.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.436, allocations: 312.3 kB / 468.9 MB, free: 58.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.4371, allocations: 440.6 kB / 469.3 MB, free: 58.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/0.4561, allocations: 12.32 MB / 481.6 MB, free: 52.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.4562, allocations: 53.09 kB / 481.7 MB, free: 52.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003902/0.4566, allocations: 193.3 kB / 481.8 MB, free: 52.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002388/0.459, allocations: 2.026 MB / 483.9 MB, free: 52.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/0.4744, allocations: 10.36 MB / 494.2 MB, free: 42.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04142/0.5158, allocations: 44.02 MB / 0.5256 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.5281, allocations: 4.649 MB / 0.5302 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/0.5308, allocations: 1.844 MB / 0.532 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/0.5436, allocations: 7.036 MB / 0.5388 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/0.5437, allocations: 67.42 kB / 0.5389 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 4.238e-06/0.5437, allocations: 0 / 0.5389 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=223): time 0.06337/0.6071, allocations: 19.45 MB / 0.5579 GB, free: 12.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.6072, allocations: 201.9 kB / 0.5581 GB, free: 11.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006502/0.6137, allocations: 4.522 MB / 0.5625 GB, free: 7.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003186/0.614, allocations: 57.7 kB / 0.5626 GB, free: 7.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002879/0.6169, allocations: 3.716 MB / 0.5662 GB, free: 3.559 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.6179, allocations: 0.8721 MB / 0.567 GB, free: 2.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001708/0.6196, allocations: 1.278 MB / 0.5683 GB, free: 1.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.6198, allocations: 309.1 kB / 0.5686 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003393/0.6232, allocations: 2.226 MB / 0.5708 GB, free: 14.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006421/0.6296, allocations: 5.972 MB / 0.5766 GB, free: 7.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/0.6413, allocations: 8.918 MB / 0.5853 GB, free: 12.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.6414, allocations: 40 kB / 0.5853 GB, free: 12.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01724/0.6586, allocations: 9.043 MB / 0.5942 GB, free: 3.164 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.922e-05/0.6587, allocations: 60 kB / 0.5942 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001482/0.6588, allocations: 132 kB / 0.5944 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/0.6625, allocations: 1.207 MB / 0.5955 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004369/0.6668, allocations: 1.419 MB / 0.5969 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.6787, allocations: 8.012 MB / 0.6047 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00447/0.6832, allocations: 339.6 kB / 0.6051 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007412/0.6839, allocations: 384 kB / 0.6054 GB, free: 7.488 MB / 478.1 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.003797/0.6877, allocations: 2.478 MB / 0.6079 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007948/0.6885, allocations: 441.1 kB / 0.6083 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007856/0.6964, allocations: 3.872 MB / 0.6121 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.232e-05/0.6964, allocations: 24 kB / 0.6121 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.6964, allocations: 8 kB / 0.6121 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/0.6964, allocations: 7.969 kB / 0.6121 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/0.7162, allocations: 9.957 MB / 0.6218 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.7162, allocations: 8 kB / 0.6218 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/0.7176, allocations: 323.5 kB / 0.6221 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003283/0.7209, allocations: 0.9842 MB / 0.6231 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.7211, allocations: 44 kB / 0.6231 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009887/0.731, allocations: 6.676 MB / 0.6297 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.731, allocations: 27.88 kB / 0.6297 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/0.742, allocations: 6.61 MB / 0.6361 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/0.7441, allocations: 0.7362 MB / 0.6369 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/0.7447, allocations: 47.98 kB / 0.6369 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/0.7465, allocations: 107.8 kB / 0.637 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/0.7468, allocations: 149 kB / 0.6371 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.747, allocations: 64 kB / 0.6372 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004342/0.7513, allocations: 2.852 MB / 0.64 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7513, allocations: 0 / 0.64 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004861/0.7562, allocations: 1.176 MB / 0.6411 GB, free: 2.492 MB / 0.4981 GB 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.2037/0.9599, allocations: 7.318 MB / 0.6483 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008559/0.9684, allocations: 5.312 MB / 0.6535 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.9685, allocations: 0 / 0.6535 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.9709, allocations: 1.7 MB / 0.6551 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/0.974, allocations: 0.564 MB / 0.6557 GB, free: 163 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0626/1.037, allocations: 51.67 MB / 0.7061 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004965/1.042, allocations: 3.878 MB / 0.7099 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003745/1.045, allocations: 1.95 MB / 0.7118 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002255/1.048, allocations: 2.289 MB / 0.7141 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/1.048, allocations: 0 / 0.7141 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/1.173, allocations: 84.76 MB / 0.7968 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.79/26.96, allocations: 0 / 0.7968 GB, free: 28.35 MB / 0.4981 GB " [Timeout remaining time 633] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 30.64618496503681]