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.001731/0.001731, allocations: 113 kB / 19.04 MB, free: 3.254 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.001935/0.001935, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.482/1.482, allocations: 225.6 MB / 250.8 MB, free: 13.32 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.001509/0.001509, allocations: 47.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2516, allocations: 52.15 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006069/0.2576, allocations: 4.605 MB / 425.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.2601, allocations: 1.352 MB / 426.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.2604, allocations: 27.88 kB / 426.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.2609, allocations: 178.2 kB / 427 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.2612, allocations: 162.3 kB / 427.2 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007922/0.262, allocations: 375.3 kB / 427.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.2631, allocations: 0.9704 MB / 428.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004957/0.2635, allocations: 283 kB / 428.8 MB, free: 7.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.2639, allocations: 334.5 kB / 429.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.2643, allocations: 349.9 kB / 429.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.32e-05/0.2644, allocations: 72 kB / 429.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.2646, allocations: 115.9 kB / 429.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.2648, allocations: 171.3 kB / 429.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.2651, allocations: 433.5 kB / 430.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.2665, allocations: 1.102 MB / 431.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2665, allocations: 0 / 431.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2665, allocations: 0 / 431.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2665, allocations: 3.938 kB / 431.3 MB, free: 4.574 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.001709/0.2682, allocations: 1.168 MB / 432.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2682, allocations: 12.03 kB / 432.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.2684, allocations: 115.2 kB / 432.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009269/0.2693, allocations: 0.635 MB / 433.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.2694, allocations: 58 kB / 433.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.2695, allocations: 91.94 kB / 433.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.2708, allocations: 0.8403 MB / 434.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.474e-05/0.2709, allocations: 15.83 kB / 434.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.2709, allocations: 36 kB / 434.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.271, allocations: 20 kB / 434.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009297/0.2719, allocations: 475.3 kB / 434.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003993/0.2759, allocations: 4.385 MB / 439.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.2764, allocations: 272.2 kB / 439.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.2767, allocations: 137.5 kB / 439.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.2769, allocations: 166.6 kB / 439.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.2769, allocations: 38.94 kB / 439.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.104e-06/0.2769, allocations: 0 / 439.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003391/0.2803, allocations: 1.747 MB / 441.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2804, allocations: 59.91 kB / 441.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.281, allocations: 0.5432 MB / 442.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.281, allocations: 29.7 kB / 442.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.2814, allocations: 495.7 kB / 442.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.2816, allocations: 214.2 kB / 442.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.2818, allocations: 146.6 kB / 443 MB, free: 8.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.282, allocations: 378.8 kB / 443.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.2823, allocations: 153.9 kB / 443.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.2828, allocations: 467.1 kB / 444 MB, free: 7.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009178/0.2837, allocations: 0.679 MB / 444.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.2837, allocations: 4 kB / 444.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00119/0.2849, allocations: 0.7386 MB / 445.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2849, allocations: 8 kB / 445.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.285, allocations: 8 kB / 445.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/0.2851, allocations: 48.84 kB / 445.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.2857, allocations: 179.7 kB / 445.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.2872, allocations: 1.693 MB / 447.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.2875, allocations: 24 kB / 447.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.2876, allocations: 40.11 kB / 447.4 MB, free: 3.52 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.0003349/0.2879, allocations: 248.8 kB / 447.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.288, allocations: 79.47 kB / 447.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.2882, allocations: 75.27 kB / 447.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2882, allocations: 7.938 kB / 447.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.2882, allocations: 11.94 kB / 447.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2882, allocations: 3.984 kB / 447.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.2902, allocations: 1.413 MB / 449.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2902, allocations: 0 / 449.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/0.2907, allocations: 115.8 kB / 449.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.876e-05/0.2908, allocations: 24.84 kB / 449.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.2908, allocations: 16 kB / 449.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.2919, allocations: 1.371 MB / 450.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/0.2919, allocations: 7.938 kB / 450.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.293, allocations: 0.7818 MB / 451.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.2931, allocations: 136.6 kB / 451.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.2932, allocations: 15.98 kB / 451.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.2934, allocations: 16 kB / 451.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.2934, allocations: 43.92 kB / 451.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.2935, allocations: 20 kB / 451.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004273/0.2939, allocations: 363.1 kB / 452.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2939, allocations: 0 / 452.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006217/0.2945, allocations: 140 kB / 452.2 MB, free: 14.33 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.0001382/0.2947, allocations: 119.1 kB / 452.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.2957, allocations: 0.5688 MB / 452.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2957, allocations: 0 / 452.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.2961, allocations: 302.3 kB / 453.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/0.2967, allocations: 107.4 kB / 453.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.2994, allocations: 1.877 MB / 455.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.3001, allocations: 0.9652 MB / 456.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.3003, allocations: 81.94 kB / 456.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3004, allocations: 59.61 kB / 456.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3004, allocations: 0 / 456.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of Templates: time 0.01208/0.3125, allocations: 5.682 MB / 462 MB, free: 4.477 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.613566876389086]