Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 205.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 47.92 kB / 377.7 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2408, allocations: 53.37 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003571/0.2443, allocations: 2.306 MB / 433.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2456, allocations: 0.6271 MB / 434 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.2457, allocations: 7.938 kB / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.2458, allocations: 43.58 kB / 434.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.246, allocations: 75.28 kB / 434.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.2463, allocations: 75.84 kB / 434.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.2466, allocations: 254.9 kB / 434.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.2468, allocations: 65.64 kB / 434.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.247, allocations: 115.6 kB / 434.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.2471, allocations: 107.5 kB / 434.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.2472, allocations: 24 kB / 434.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.01e-05/0.2472, allocations: 23.94 kB / 434.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.2473, allocations: 51.83 kB / 434.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2474, allocations: 99.59 kB / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.2477, allocations: 264.6 kB / 435.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2477, allocations: 0 / 435.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2477, allocations: 0 / 435.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2477, allocations: 0 / 435.2 MB, free: 2.539 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.0007977/0.2485, allocations: 473.4 kB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2486, allocations: 12.03 kB / 435.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.84e-05/0.2486, allocations: 54.73 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.2489, allocations: 48.72 kB / 435.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.2492, allocations: 183 kB / 435.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2492, allocations: 12.81 kB / 436 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.2492, allocations: 24.33 kB / 436 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.2496, allocations: 225 kB / 436.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2497, allocations: 0 / 436.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.2497, allocations: 12 kB / 436.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2497, allocations: 8 kB / 436.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.25, allocations: 146 kB / 436.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.2511, allocations: 0.7004 MB / 437.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.2515, allocations: 201 kB / 437.3 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.2518, allocations: 93.67 kB / 437.3 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.2518, allocations: 4.125 kB / 437.3 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2518, allocations: 42.5 kB / 437.4 MB, free: 172 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.2518, allocations: 0 / 437.4 MB, free: 172 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001513/0.2533, allocations: 0.7162 MB / 438.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.2534, allocations: 77.11 kB / 438.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.2536, allocations: 183.8 kB / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.2536, allocations: 33.7 kB / 438.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/0.2537, allocations: 148.4 kB / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.689e-05/0.2538, allocations: 99.31 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.2538, allocations: 45.7 kB / 438.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.254, allocations: 330.8 kB / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.2541, allocations: 63.97 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.2543, allocations: 112.2 kB / 439.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.2546, allocations: 188.2 kB / 439.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2546, allocations: 3.938 kB / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004204/0.2551, allocations: 236.2 kB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2551, allocations: 16.02 kB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2551, allocations: 0 / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2551, allocations: 4 kB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.2553, allocations: 63.84 kB / 439.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2554, allocations: 3.938 kB / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.2555, allocations: 15.94 kB / 439.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2555, allocations: 12 kB / 439.7 MB, free: 13.71 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.0001336/0.2556, allocations: 141.8 kB / 439.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.2557, allocations: 23.86 kB / 439.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.933e-05/0.2557, allocations: 33.75 kB / 439.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2557, allocations: 4 kB / 439.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2558, allocations: 0 / 439.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2558, allocations: 3.984 kB / 439.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008221/0.2566, allocations: 0.5305 MB / 440.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2566, allocations: 4 kB / 440.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.2569, allocations: 55.91 kB / 440.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2569, allocations: 4.094 kB / 440.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.2569, allocations: 8 kB / 440.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.2569, allocations: 7.938 kB / 440.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2569, allocations: 0 / 440.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.2575, allocations: 489 kB / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.2576, allocations: 27.89 kB / 441 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.2576, allocations: 4 kB / 441 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.2578, allocations: 11.94 kB / 441 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.2578, allocations: 23.97 kB / 441.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2578, allocations: 7.984 kB / 441.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.2579, allocations: 132.5 kB / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2579, allocations: 0 / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.2583, allocations: 48 kB / 441.2 MB, free: 12.08 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.0009217/0.2592, allocations: 1.026 MB / 442.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.2596, allocations: 172.2 kB / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2596, allocations: 3.938 kB / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.2598, allocations: 92 kB / 442.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.2602, allocations: 40.11 kB / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.2635, allocations: 2.665 MB / 445.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.2636, allocations: 138.1 kB / 445.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.748e-05/0.2637, allocations: 25.94 kB / 445.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2638, allocations: 71.36 kB / 445.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2638, allocations: 0 / 445.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04311/0.307, allocations: 5.207 MB / 450.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.77, allocations: 0 / 450.7 MB, free: 2.629 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.014598619018216]