Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001841/0.001841, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002234/0.002234, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 47.92 kB / 370.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2465, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005716/0.2522, allocations: 4.1 MB / 427.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.2544, allocations: 1.298 MB / 428.5 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.2547, allocations: 35.69 kB / 428.5 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.2551, allocations: 174.2 kB / 428.7 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.2554, allocations: 166.3 kB / 428.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007414/0.2562, allocations: 379.4 kB / 429.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.2572, allocations: 0.9704 MB / 430.2 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.2576, allocations: 267.4 kB / 430.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.258, allocations: 346.5 kB / 430.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.2583, allocations: 302 kB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-05/0.2584, allocations: 75.94 kB / 431.1 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.2586, allocations: 116 kB / 431.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.2588, allocations: 171.3 kB / 431.4 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.2591, allocations: 330.1 kB / 431.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.2602, allocations: 1.115 MB / 432.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2602, allocations: 4 kB / 432.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2602, allocations: 0 / 432.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.2602, allocations: 0 / 432.9 MB, free: 4.637 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00155/0.2617, allocations: 1.099 MB / 434 MB, free: 3.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2618, allocations: 8.031 kB / 434 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.2619, allocations: 115.3 kB / 434.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009842/0.2629, allocations: 0.5512 MB / 434.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.657e-05/0.263, allocations: 54 kB / 434.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.2631, allocations: 87.95 kB / 434.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.2644, allocations: 0.8442 MB / 435.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.2645, allocations: 19.89 kB / 435.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/0.2645, allocations: 32 kB / 435.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.2646, allocations: 20 kB / 435.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008792/0.2654, allocations: 467.3 kB / 436.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003669/0.2691, allocations: 4.081 MB / 440.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.2697, allocations: 283.9 kB / 440.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.2699, allocations: 137.5 kB / 440.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.956e-05/0.27, allocations: 12.36 kB / 440.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.27, allocations: 38.94 kB / 440.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.693e-06/0.27, allocations: 4 kB / 440.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003305/0.2733, allocations: 1.595 MB / 442.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.2734, allocations: 59.91 kB / 442.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.2741, allocations: 0.5508 MB / 442.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.2741, allocations: 33.7 kB / 442.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.2745, allocations: 495.8 kB / 443.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.2747, allocations: 222.1 kB / 443.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.2749, allocations: 142.6 kB / 443.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.2751, allocations: 386.7 kB / 444.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.2754, allocations: 161.9 kB / 444.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.2759, allocations: 455.2 kB / 444.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.2768, allocations: 0.6673 MB / 445.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.2768, allocations: 4 kB / 445.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00115/0.2779, allocations: 0.7428 MB / 446.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.2779, allocations: 11.98 kB / 446.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.278, allocations: 12 kB / 446.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.2781, allocations: 52.84 kB / 446.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.2787, allocations: 183.7 kB / 446.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.2801, allocations: 1.547 MB / 448 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.2804, allocations: 28 kB / 448 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.2805, allocations: 36 kB / 448 MB, free: 4.617 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002936/0.2808, allocations: 241.5 kB / 448.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2809, allocations: 71.53 kB / 448.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.281, allocations: 79.06 kB / 448.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.281, allocations: 7.938 kB / 448.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.281, allocations: 0 / 448.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.281, allocations: 0 / 448.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.283, allocations: 1.198 MB / 449.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.283, allocations: 7.938 kB / 449.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/0.2835, allocations: 119.8 kB / 449.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/0.2836, allocations: 20.86 kB / 449.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.2836, allocations: 16 kB / 449.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.2846, allocations: 1.246 MB / 451 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2846, allocations: 4 kB / 451 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2857, allocations: 0.788 MB / 451.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.2858, allocations: 63.53 kB / 451.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.2859, allocations: 8 kB / 451.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.2861, allocations: 19.98 kB / 451.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.2862, allocations: 47.97 kB / 451.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.2862, allocations: 16 kB / 452 MB, free: 440 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003949/0.2866, allocations: 363.2 kB / 452.3 MB, free: 84 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2866, allocations: 3.938 kB / 452.3 MB, free: 80 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006281/0.2872, allocations: 136 kB / 452.4 MB, free: 15.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.2874, allocations: 118.7 kB / 452.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009592/0.2883, allocations: 0.5606 MB / 453.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2883, allocations: 0.625 kB / 453.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.2887, allocations: 302.1 kB / 453.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.2894, allocations: 114 kB / 453.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.2923, allocations: 1.874 MB / 455.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.2928, allocations: 370.3 kB / 455.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000271/0.2931, allocations: 89.92 kB / 455.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.2932, allocations: 59.42 kB / 455.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2932, allocations: 0 / 455.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Templates: time 0.0133/0.3065, allocations: 6.106 MB / 462 MB, free: 6.355 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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: 4.618233388289809]