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.001282/0.001282, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.001342/0.001342, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 8.047 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 55.91 kB / 378.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.243, allocations: 53.35 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003679/0.2466, allocations: 2.463 MB / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.248, allocations: 0.6661 MB / 435 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.2481, allocations: 7.938 kB / 435 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2483, allocations: 43.58 kB / 435.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.2484, allocations: 63.42 kB / 435.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.2487, allocations: 79.83 kB / 435.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.2491, allocations: 262.8 kB / 435.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.2492, allocations: 65.64 kB / 435.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.2495, allocations: 115.6 kB / 435.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.2496, allocations: 111.5 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.2497, allocations: 24 kB / 435.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.2497, allocations: 27.94 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.2498, allocations: 51.83 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2499, allocations: 115.4 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.2502, allocations: 259.3 kB / 436.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2502, allocations: 4 kB / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2502, allocations: 0 / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2502, allocations: 0 / 436.2 MB, free: 2.551 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.0007888/0.251, allocations: 473.5 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2511, allocations: 12.03 kB / 436.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.219e-05/0.2511, allocations: 8.625 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.2512, allocations: 54.73 kB / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.2514, allocations: 44.73 kB / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.2517, allocations: 183 kB / 437 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.2518, allocations: 12.81 kB / 437 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.2518, allocations: 28.33 kB / 437 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.2522, allocations: 212.9 kB / 437.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.2522, allocations: 7.922 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2523, allocations: 12 kB / 437.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2523, allocations: 4 kB / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.2526, allocations: 154.7 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2538, allocations: 0.7394 MB / 438.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.2542, allocations: 197.2 kB / 438.4 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.2544, allocations: 93.86 kB / 438.4 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.2545, allocations: 3.938 kB / 438.4 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.2545, allocations: 50.42 kB / 438.5 MB, free: 132 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 3.266e-06/0.2545, allocations: 7.984 kB / 438.5 MB, free: 124 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001605/0.2561, allocations: 0.7106 MB / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.2562, allocations: 85.11 kB / 439.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.2563, allocations: 183.8 kB / 439.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2564, allocations: 29.7 kB / 439.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/0.2565, allocations: 136.5 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/0.2566, allocations: 107.1 kB / 439.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.2566, allocations: 45.7 kB / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2568, allocations: 334.8 kB / 440.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.2569, allocations: 63.97 kB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.2571, allocations: 104.2 kB / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.2574, allocations: 194 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.2574, allocations: 4 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004388/0.2579, allocations: 245.3 kB / 440.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2579, allocations: 8 kB / 440.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2579, allocations: 0 / 440.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2579, allocations: 4 kB / 440.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.2582, allocations: 59.91 kB / 440.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2582, allocations: 8.078 kB / 440.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2583, allocations: 8 kB / 440.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.2583, allocations: 12 kB / 440.8 MB, free: 13.67 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.0001362/0.2585, allocations: 146.2 kB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.2585, allocations: 19.86 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.2586, allocations: 29.8 kB / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2586, allocations: 4 kB / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2586, allocations: 0 / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.2586, allocations: 4 kB / 441 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/0.2595, allocations: 0.5543 MB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2595, allocations: 0 / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.2597, allocations: 55.97 kB / 441.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.2597, allocations: 4 kB / 441.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.2598, allocations: 12.09 kB / 441.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.2598, allocations: 7.875 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2598, allocations: 7.938 kB / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.2604, allocations: 489 kB / 442.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.2605, allocations: 19.94 kB / 442.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.2605, allocations: 8 kB / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.2607, allocations: 11.94 kB / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.2607, allocations: 23.91 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2607, allocations: 11.98 kB / 442.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.2609, allocations: 132.5 kB / 442.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2609, allocations: 4 kB / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00033/0.2612, allocations: 48 kB / 442.4 MB, free: 12.01 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.001043/0.2622, allocations: 1.026 MB / 443.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.2626, allocations: 174.6 kB / 443.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2626, allocations: 4 kB / 443.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.2628, allocations: 84.77 kB / 443.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.2634, allocations: 55.48 kB / 443.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/0.2668, allocations: 2.657 MB / 446.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.2672, allocations: 0.7479 MB / 447.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.2673, allocations: 29.92 kB / 447.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2674, allocations: 67.42 kB / 447.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2674, allocations: 0 / 447.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.2952, allocations: 4.754 MB / 452 MB, free: 2.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.97, allocations: 11.91 kB / 452 MB, free: 2.387 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.310271811962593]