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.00148/0.00148, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001725/0.001725, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.397/1.397, allocations: 230.5 MB / 258.2 MB, free: 7.789 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 71.83 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2387, allocations: 53.4 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003625/0.2423, allocations: 2.312 MB / 434.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2435, allocations: 0.6193 MB / 434.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.2436, allocations: 4 kB / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.2438, allocations: 39.58 kB / 434.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.2439, allocations: 75.34 kB / 434.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.2442, allocations: 79.78 kB / 435 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.2445, allocations: 254.9 kB / 435.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.2447, allocations: 79.67 kB / 435.3 MB, free: 3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.2449, allocations: 103.6 kB / 435.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.2451, allocations: 107.5 kB / 435.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.2451, allocations: 20 kB / 435.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.453e-05/0.2452, allocations: 31.98 kB / 435.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.2452, allocations: 51.84 kB / 435.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.2454, allocations: 95.53 kB / 435.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.2457, allocations: 266.8 kB / 436 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2457, allocations: 0 / 436 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2457, allocations: 0 / 436 MB, free: 2.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.2457, allocations: 3.984 kB / 436 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.0008045/0.2465, allocations: 465.5 kB / 436.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2466, allocations: 16.03 kB / 436.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.386e-05/0.2466, allocations: 8.625 kB / 436.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.915e-05/0.2467, allocations: 54.73 kB / 436.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.2469, allocations: 48.72 kB / 436.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.2472, allocations: 171 kB / 436.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2472, allocations: 16.81 kB / 436.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.2473, allocations: 28.33 kB / 436.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.2477, allocations: 224.8 kB / 437 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.2477, allocations: 0 / 437 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.2477, allocations: 12 kB / 437 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2477, allocations: 4 kB / 437 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.2481, allocations: 147.9 kB / 437.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.2492, allocations: 0.7082 MB / 437.9 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.2497, allocations: 193 kB / 438.1 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.2499, allocations: 93.8 kB / 438.2 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.2499, allocations: 7.938 kB / 438.2 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.25, allocations: 38.56 kB / 438.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.25, allocations: 0 / 438.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001609/0.2516, allocations: 0.7132 MB / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.2516, allocations: 81.27 kB / 439 MB, free: 15.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.2518, allocations: 183.2 kB / 439.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.2518, allocations: 29.7 kB / 439.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.2519, allocations: 144.5 kB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/0.252, allocations: 95.12 kB / 439.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.2521, allocations: 61.62 kB / 439.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2523, allocations: 326.8 kB / 439.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.2524, allocations: 75.89 kB / 439.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.2526, allocations: 104.2 kB / 440 MB, free: 14.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.2529, allocations: 182.9 kB / 440.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2529, allocations: 0 / 440.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004765/0.2534, allocations: 253.3 kB / 440.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2534, allocations: 8 kB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2534, allocations: 0 / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2534, allocations: 0 / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.2537, allocations: 63.91 kB / 440.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.2537, allocations: 4 kB / 440.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2538, allocations: 11.98 kB / 440.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.2538, allocations: 8 kB / 440.5 MB, free: 13.5 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.0001865/0.254, allocations: 149.8 kB / 440.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.2541, allocations: 19.86 kB / 440.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.776e-05/0.2542, allocations: 29.8 kB / 440.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2542, allocations: 4 kB / 440.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2542, allocations: 0 / 440.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2542, allocations: 4 kB / 440.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008522/0.255, allocations: 0.5271 MB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.255, allocations: 0 / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.2553, allocations: 60 kB / 441.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2553, allocations: 7.938 kB / 441.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2553, allocations: 8 kB / 441.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2553, allocations: 3.938 kB / 441.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2553, allocations: 4 kB / 441.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/0.256, allocations: 0.4899 MB / 441.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.2561, allocations: 15.91 kB / 441.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.2561, allocations: 4 kB / 441.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2563, allocations: 19.94 kB / 441.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.2563, allocations: 24 kB / 441.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.2563, allocations: 8 kB / 441.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.2564, allocations: 132.5 kB / 442 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2564, allocations: 0 / 442 MB, free: 11.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.2568, allocations: 52 kB / 442.1 MB, free: 11.86 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.001145/0.2579, allocations: 1.034 MB / 443.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003749/0.2583, allocations: 175 kB / 443.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2583, allocations: 0 / 443.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.2585, allocations: 86.86 kB / 443.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.259, allocations: 50.06 kB / 443.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.2625, allocations: 2.657 MB / 446.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.2626, allocations: 138.1 kB / 446.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.917e-05/0.2627, allocations: 25.92 kB / 446.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2628, allocations: 71.41 kB / 446.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2628, allocations: 4 kB / 446.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.2907, allocations: 4.816 MB / 451.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.11, allocations: 15.36 kB / 451.1 MB, free: 2.77 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.431230739923194]