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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001219, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.00127/0.00127, allocations: 198 kB / 18.07 MB, free: 5.41 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.263/1.263, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001236/0.001236, allocations: 55.91 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.08884, allocations: 46.62 MB / 326.7 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.215/0.3039, allocations: 55.45 MB / 382.2 MB, free: 9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02469/0.3286, allocations: 11.92 MB / 394.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01322/0.3419, allocations: 246.3 kB / 394.3 MB, free: 8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007705/0.3497, allocations: 4.198 MB / 398.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005133/0.3548, allocations: 2.016 MB / 400.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.3575, allocations: 1.023 MB / 401.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008784/0.3663, allocations: 8.209 MB / 409.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006368/0.3727, allocations: 5.215 MB / 415 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0036/0.3763, allocations: 1.911 MB / 416.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00439/0.3807, allocations: 3.053 MB / 419.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.382, allocations: 344 kB / 420.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.3854, allocations: 1.548 MB / 421.8 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002908/0.3884, allocations: 2.453 MB / 424.3 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003659/0.392, allocations: 2.812 MB / 427.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00788/0.3999, allocations: 9.336 MB / 436.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4, allocations: 4 kB / 436.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4, allocations: 0 / 436.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001793/0.4002, allocations: 7.938 kB / 436.4 MB, free: 11.51 MB / 350.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.01093/0.4111, allocations: 6.223 MB / 442.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4112, allocations: 8.031 kB / 442.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001106/0.4123, allocations: 0.9238 MB / 443.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03358/0.4459, allocations: 6.023 MB / 449.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008681/0.4546, allocations: 4.713 MB / 454.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.4548, allocations: 307.1 kB / 454.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007115/0.4555, allocations: 440.5 kB / 455.1 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/0.4726, allocations: 12.32 MB / 467.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.4727, allocations: 59.58 kB / 467.4 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004006/0.4731, allocations: 192.2 kB / 467.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002665/0.4758, allocations: 2.03 MB / 469.6 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/0.4924, allocations: 10.35 MB / 480 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04458/0.537, allocations: 44.17 MB / 0.5119 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/0.5482, allocations: 4.806 MB / 0.5166 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/0.5505, allocations: 1.965 MB / 0.5185 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00929/0.5598, allocations: 7 MB / 0.5253 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.5599, allocations: 55.5 kB / 0.5254 GB, free: 4.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 5.43e-06/0.5599, allocations: 3.984 kB / 0.5254 GB, free: 4.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05833/0.6182, allocations: 19.21 MB / 0.5442 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/0.6183, allocations: 209.8 kB / 0.5444 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1541/0.7724, allocations: 4.512 MB / 0.5488 GB, free: 180.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003845/0.7728, allocations: 56.48 kB / 0.5488 GB, free: 180 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001973/0.7748, allocations: 3.566 MB / 0.5523 GB, free: 177.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007635/0.7756, allocations: 0.8426 MB / 0.5531 GB, free: 177.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/0.7771, allocations: 1.267 MB / 0.5544 GB, free: 176.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.7771, allocations: 306.2 kB / 0.5546 GB, free: 176.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/0.7802, allocations: 2.224 MB / 0.5568 GB, free: 175.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00389/0.7841, allocations: 5.976 MB / 0.5627 GB, free: 169.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007574/0.7917, allocations: 8.913 MB / 0.5714 GB, free: 162.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.4e-05/0.7918, allocations: 37.94 kB / 0.5714 GB, free: 162.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01247/0.8042, allocations: 9.043 MB / 0.5802 GB, free: 159 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.8043, allocations: 62.69 kB / 0.5803 GB, free: 159 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/0.8045, allocations: 131.3 kB / 0.5804 GB, free: 159 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/0.8076, allocations: 1.213 MB / 0.5816 GB, free: 158.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/0.8112, allocations: 1.415 MB / 0.583 GB, free: 157.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008166/0.8193, allocations: 7.519 MB / 0.5903 GB, free: 150.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/0.8237, allocations: 343.5 kB / 0.5906 GB, free: 150.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005215/0.8242, allocations: 383.9 kB / 0.591 GB, free: 149.9 MB / 462.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.002775/0.827, allocations: 2.495 MB / 0.5934 GB, free: 147.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000607/0.8276, allocations: 406.7 kB / 0.5938 GB, free: 146.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006066/0.8337, allocations: 3.882 MB / 0.5976 GB, free: 143.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.8337, allocations: 24 kB / 0.5976 GB, free: 143 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.8337, allocations: 19.92 kB / 0.5977 GB, free: 143 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.8338, allocations: 7.969 kB / 0.5977 GB, free: 143 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.8482, allocations: 10.19 MB / 0.6076 GB, free: 132.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.8483, allocations: 8 kB / 0.6076 GB, free: 132.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.8496, allocations: 343.1 kB / 0.608 GB, free: 132.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/0.8526, allocations: 0.9917 MB / 0.6089 GB, free: 131.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.8527, allocations: 51.34 kB / 0.609 GB, free: 131.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007014/0.8598, allocations: 6.204 MB / 0.615 GB, free: 125 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.8598, allocations: 14.91 kB / 0.6151 GB, free: 125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008536/0.8683, allocations: 6.61 MB / 0.6215 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/0.8697, allocations: 0.7222 MB / 0.6222 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004251/0.8702, allocations: 44.06 kB / 0.6223 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.8716, allocations: 115.7 kB / 0.6224 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.8719, allocations: 137 kB / 0.6225 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.872, allocations: 67.98 kB / 0.6226 GB, free: 117.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00306/0.8751, allocations: 2.855 MB / 0.6253 GB, free: 114.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8751, allocations: 0 / 0.6253 GB, free: 114.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00437/0.8795, allocations: 1.176 MB / 0.6265 GB, free: 113.2 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.00852/0.888, allocations: 7.34 MB / 0.6337 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006387/0.8944, allocations: 5.501 MB / 0.639 GB, free: 100.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.8944, allocations: 4.812 kB / 0.639 GB, free: 100.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.8963, allocations: 1.831 MB / 0.6408 GB, free: 98.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/0.8991, allocations: 0.5398 MB / 0.6414 GB, free: 97.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06471/0.9638, allocations: 62.12 MB / 0.702 GB, free: 27.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003015/0.9669, allocations: 3.883 MB / 0.7058 GB, free: 23.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003863/0.9707, allocations: 1.94 MB / 0.7077 GB, free: 21.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/0.9728, allocations: 2.288 MB / 0.7099 GB, free: 19.23 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.9728, allocations: 0 / 0.7099 GB, free: 19.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2474/1.22, allocations: 86.45 MB / 0.7944 GB, free: 117.9 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/1.22, allocations: 241.7 kB / 0.7946 GB, free: 117.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.166/5.387, allocations: 0 / 0.7946 GB, free: 117.6 MB / 462.1 MB (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 --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) 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","../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