Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.001362/0.001362, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001635/0.001635, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.424/1.424, allocations: 230.5 MB / 257.4 MB, free: 7.984 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.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 56.09 kB / 377.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2557, allocations: 53.42 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00411/0.2599, allocations: 2.457 MB / 433.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2612, allocations: 0.6622 MB / 434.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.2613, allocations: 11.94 kB / 434.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.2615, allocations: 43.58 kB / 434.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.2616, allocations: 59.42 kB / 434.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.2619, allocations: 79.83 kB / 434.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.2623, allocations: 262.7 kB / 434.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.2625, allocations: 77.62 kB / 434.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.2627, allocations: 111.6 kB / 434.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.2629, allocations: 115.5 kB / 435 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.2629, allocations: 20 kB / 435.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.88e-05/0.263, allocations: 20 kB / 435.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.263, allocations: 47.84 kB / 435.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2632, allocations: 115.4 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.2635, allocations: 263.3 kB / 435.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2636, allocations: 0 / 435.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2636, allocations: 4 kB / 435.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.2636, allocations: 0 / 435.5 MB, free: 2.332 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008577/0.2644, allocations: 469.5 kB / 436 MB, free: 1.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.2645, allocations: 8.031 kB / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.986e-05/0.2645, allocations: 54.73 kB / 436 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002764/0.2648, allocations: 48.72 kB / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.2652, allocations: 183 kB / 436.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2652, allocations: 12.81 kB / 436.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.2653, allocations: 28.33 kB / 436.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.2657, allocations: 221.1 kB / 436.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2657, allocations: 0 / 436.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.2658, allocations: 12 kB / 436.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.2658, allocations: 7.938 kB / 436.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.2661, allocations: 151.9 kB / 436.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.2673, allocations: 0.7394 MB / 437.4 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.2678, allocations: 193 kB / 437.6 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.268, allocations: 97.66 kB / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.268, allocations: 192 / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2681, allocations: 46.5 kB / 437.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.233e-06/0.2681, allocations: 3.938 kB / 437.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001566/0.2696, allocations: 0.7213 MB / 438.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.2697, allocations: 85.11 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.2699, allocations: 183.2 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.2699, allocations: 29.7 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.27, allocations: 140.5 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.2701, allocations: 103.1 kB / 439 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.2702, allocations: 53.64 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2704, allocations: 330.8 kB / 439.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.2705, allocations: 67.97 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.2707, allocations: 100.2 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.271, allocations: 190.9 kB / 439.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.271, allocations: 7.938 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004283/0.2714, allocations: 237.3 kB / 440 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2715, allocations: 8 kB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2715, allocations: 0 / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2715, allocations: 4 kB / 440 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.2717, allocations: 63.98 kB / 440 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2718, allocations: 4 kB / 440 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.2719, allocations: 12 kB / 440 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2719, allocations: 8 kB / 440.1 MB, free: 13.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.272, allocations: 145.7 kB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.2721, allocations: 23.84 kB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.381e-05/0.2721, allocations: 25.81 kB / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2721, allocations: 4 kB / 440.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2722, allocations: 0 / 440.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.2722, allocations: 15.97 kB / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008289/0.273, allocations: 0.5466 MB / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.273, allocations: 0 / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.2732, allocations: 59.91 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.2733, allocations: 4 kB / 440.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.2733, allocations: 12.09 kB / 440.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2733, allocations: 3.938 kB / 440.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2733, allocations: 7.938 kB / 440.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.2739, allocations: 0.4899 MB / 441.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.274, allocations: 15.91 kB / 441.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.274, allocations: 8 kB / 441.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.2741, allocations: 11.94 kB / 441.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.2742, allocations: 27.94 kB / 441.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.2742, allocations: 8 kB / 441.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.2743, allocations: 136.5 kB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2743, allocations: 4 kB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003348/0.2747, allocations: 48 kB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009773/0.2756, allocations: 1.022 MB / 442.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.276, allocations: 174.9 kB / 442.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.276, allocations: 0 / 442.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.2762, allocations: 96.2 kB / 442.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.2767, allocations: 47.88 kB / 443 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.2805, allocations: 2.656 MB / 445.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.2809, allocations: 0.744 MB / 446.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.281, allocations: 25.94 kB / 446.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.2811, allocations: 75.39 kB / 446.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2811, allocations: 0 / 446.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.315, allocations: 4.722 MB / 451.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.29, allocations: 19.47 kB / 451.2 MB, free: 2.152 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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: 13.605962784029543]