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.001829/0.001829, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 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.002062/0.002062, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.395/1.395, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 59.91 kB / 378.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2732, allocations: 53.41 MB / 432 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.02465/0.2979, allocations: 13.54 MB / 445.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.3092, allocations: 4.944 MB / 450.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.3113, allocations: 107.4 kB / 450.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008472/0.3198, allocations: 4.233 MB / 454.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005727/0.3255, allocations: 2.175 MB / 457 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.3284, allocations: 1.111 MB / 458.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009238/0.3376, allocations: 6.072 MB / 464.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007076/0.3447, allocations: 4.054 MB / 468.2 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/0.3497, allocations: 2.193 MB / 470.4 MB, free: 116 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005372/0.355, allocations: 3.085 MB / 473.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001593/0.3566, allocations: 0.4922 MB / 474 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/0.3604, allocations: 1.67 MB / 475.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003774/0.3642, allocations: 2.661 MB / 478.3 MB, free: 8.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005251/0.3694, allocations: 2.945 MB / 481.2 MB, free: 5.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.3825, allocations: 9.656 MB / 490.9 MB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3825, allocations: 0 / 490.9 MB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3825, allocations: 4 kB / 490.9 MB, free: 11.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002974/0.3828, allocations: 0 / 490.9 MB, free: 11.53 MB / 398.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.01728/0.4001, allocations: 6.28 MB / 497.2 MB, free: 5.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4002, allocations: 8.031 kB / 497.2 MB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002077/0.4004, allocations: 151.3 kB / 497.3 MB, free: 5.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0026/0.403, allocations: 0.9327 MB / 498.3 MB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03926/0.4422, allocations: 6.055 MB / 0.4925 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009888/0.4521, allocations: 4.183 MB / 0.4966 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/0.4524, allocations: 307.9 kB / 0.4969 GB, free: 9.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001632/0.4541, allocations: 443.7 kB / 0.4973 GB, free: 9.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02556/0.4796, allocations: 12.33 MB / 0.5094 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002032/0.4798, allocations: 47.59 kB / 0.5094 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001068/0.4809, allocations: 187.9 kB / 0.5096 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003488/0.4844, allocations: 2.046 MB / 0.5116 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02249/0.5069, allocations: 10.38 MB / 0.5217 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2621/0.7689, allocations: 43.86 MB / 0.5645 GB, free: 68.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/0.781, allocations: 4.286 MB / 0.5687 GB, free: 67.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002722/0.7837, allocations: 1.842 MB / 0.5705 GB, free: 66.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/0.7949, allocations: 6.081 MB / 0.5765 GB, free: 63.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.7949, allocations: 55.03 kB / 0.5765 GB, free: 63.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.939e-06/0.7949, allocations: 0 / 0.5765 GB, free: 63.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=225): time 0.06077/0.8557, allocations: 19.2 MB / 0.5953 GB, free: 47.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.8558, allocations: 209.9 kB / 0.5955 GB, free: 46.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007549/0.8633, allocations: 4.49 MB / 0.5999 GB, free: 42.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005446/0.8639, allocations: 57.7 kB / 0.5999 GB, free: 42.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/0.8661, allocations: 3.696 MB / 0.6035 GB, free: 38.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009993/0.8671, allocations: 0.8778 MB / 0.6044 GB, free: 38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002633/0.8697, allocations: 1.282 MB / 0.6056 GB, free: 36.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.8697, allocations: 301.1 kB / 0.6059 GB, free: 36.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.8728, allocations: 2.238 MB / 0.6081 GB, free: 34.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00419/0.877, allocations: 5.98 MB / 0.6139 GB, free: 26.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007382/0.8844, allocations: 8.924 MB / 0.6227 GB, free: 15.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.109e-05/0.8845, allocations: 47.88 kB / 0.6227 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01294/0.8974, allocations: 9.052 MB / 0.6315 GB, free: 6.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.531e-05/0.8975, allocations: 64 kB / 0.6316 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.8976, allocations: 128 kB / 0.6317 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003149/0.9008, allocations: 1.207 MB / 0.6329 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/0.9044, allocations: 1.415 MB / 0.6343 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.9159, allocations: 7.896 MB / 0.642 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004617/0.9205, allocations: 351.6 kB / 0.6423 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009508/0.9214, allocations: 376 kB / 0.6427 GB, free: 10.92 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 (768): * Single equations (assignments): 764 * 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.004377/0.9258, allocations: 2.499 MB / 0.6451 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009377/0.9268, allocations: 429.1 kB / 0.6455 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008564/0.9353, allocations: 3.873 MB / 0.6493 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-05/0.9354, allocations: 24 kB / 0.6493 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/0.9354, allocations: 8 kB / 0.6493 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/0.9354, allocations: 11.95 kB / 0.6494 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0224/0.9578, allocations: 9.964 MB / 0.6591 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.117e-05/0.9579, allocations: 4 kB / 0.6591 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.9594, allocations: 335.5 kB / 0.6594 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003508/0.9629, allocations: 0.996 MB / 0.6604 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002899/0.9632, allocations: 40 kB / 0.6604 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.9738, allocations: 6.584 MB / 0.6669 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.9738, allocations: 11.88 kB / 0.6669 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/0.986, allocations: 6.639 MB / 0.6734 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.9873, allocations: 397 kB / 0.6737 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009181/0.9882, allocations: 44 kB / 0.6738 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.9902, allocations: 107.9 kB / 0.6739 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/0.9906, allocations: 156.9 kB / 0.674 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/0.9908, allocations: 70.48 kB / 0.6741 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005662/0.9965, allocations: 2.824 MB / 0.6768 GB, free: 7.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9965, allocations: 3.938 kB / 0.6769 GB, free: 7.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005878/1.002, allocations: 1.16 MB / 0.678 GB, free: 6.449 MB / 494.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 (175): * Single equations (assignments): 171 * 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.01293/1.015, allocations: 7.342 MB / 0.6852 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009113/1.024, allocations: 5.325 MB / 0.6904 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.024, allocations: 4 kB / 0.6904 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002845/1.027, allocations: 1.708 MB / 0.692 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/1.031, allocations: 0.5827 MB / 0.6926 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3418/1.373, allocations: 51.6 MB / 0.743 GB, free: 194.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004559/1.377, allocations: 3.877 MB / 0.7468 GB, free: 193.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004171/1.382, allocations: 1.944 MB / 0.7487 GB, free: 193.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002479/1.384, allocations: 2.312 MB / 0.7509 GB, free: 192.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/1.384, allocations: 0 / 0.7509 GB, free: 192.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/1.512, allocations: 89.65 MB / 0.8385 GB, free: 112.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.2/23.71, allocations: 8 kB / 0.8385 GB, free: 112.8 MB / 0.545 GB " [Timeout remaining time 636] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.89728243200807]