Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001501/0.001501, allocations: 115.3 kB / 21.17 MB, free: 0.7812 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.001615/0.001615, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.372/1.372, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/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: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 71.83 kB / 378.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.241, allocations: 53.31 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003754/0.2448, allocations: 2.465 MB / 434.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2459, allocations: 0.6661 MB / 435.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.246, allocations: 4 kB / 435.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.2461, allocations: 35.59 kB / 435.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.2462, allocations: 67.36 kB / 435.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.2465, allocations: 75.83 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.2468, allocations: 262.8 kB / 435.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.247, allocations: 73.34 kB / 435.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.2472, allocations: 111.6 kB / 435.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.2473, allocations: 107.5 kB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.2474, allocations: 20 kB / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-05/0.2474, allocations: 24 kB / 435.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.2475, allocations: 51.81 kB / 436 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.2476, allocations: 119.4 kB / 436.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.2479, allocations: 260.4 kB / 436.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.2479, allocations: 0 / 436.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2479, allocations: 4 kB / 436.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2479, allocations: 0 / 436.4 MB, free: 3.074 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.0008291/0.2488, allocations: 0.5299 MB / 436.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2488, allocations: 12.03 kB / 436.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.249, allocations: 48.73 kB / 436.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.2494, allocations: 244.5 kB / 437.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.2494, allocations: 12.81 kB / 437.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.2494, allocations: 24.33 kB / 437.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.2498, allocations: 221.2 kB / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2499, allocations: 4 kB / 437.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.2499, allocations: 8 kB / 437.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.2499, allocations: 8 kB / 437.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.2502, allocations: 147.9 kB / 437.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.2515, allocations: 0.7833 MB / 438.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.2519, allocations: 193 kB / 438.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.2522, allocations: 93.67 kB / 438.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.2523, allocations: 4.156 kB / 438.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.2523, allocations: 50.61 kB / 438.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.2523, allocations: 3.938 kB / 438.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001702/0.254, allocations: 0.8691 MB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.2541, allocations: 81.11 kB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.2543, allocations: 187.2 kB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.2543, allocations: 29.7 kB / 439.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.2544, allocations: 132.6 kB / 440 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/0.2545, allocations: 107 kB / 440.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.2545, allocations: 49.7 kB / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2547, allocations: 334.8 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.2548, allocations: 63.95 kB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.255, allocations: 112.2 kB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.2554, allocations: 182.8 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2554, allocations: 7.938 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004425/0.2558, allocations: 245.1 kB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2558, allocations: 8 kB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2558, allocations: 4 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2558, allocations: 8.094 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.2561, allocations: 59.91 kB / 441.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2561, allocations: 4 kB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.2562, allocations: 11.98 kB / 441.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.2562, allocations: 8 kB / 441.2 MB, free: 13.86 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.0001335/0.2564, allocations: 141.7 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.2564, allocations: 19.86 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.2565, allocations: 29.86 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2565, allocations: 8 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2565, allocations: 0 / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2565, allocations: 4 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.2574, allocations: 0.5865 MB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2574, allocations: 0 / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.2577, allocations: 60.06 kB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2577, allocations: 4 kB / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.2577, allocations: 4 kB / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.2577, allocations: 7.875 kB / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2577, allocations: 4 kB / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.2584, allocations: 496 kB / 442.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.2585, allocations: 101 kB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.2585, allocations: 8 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.2587, allocations: 7.938 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.2587, allocations: 23.91 kB / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2587, allocations: 8 kB / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.2588, allocations: 140.2 kB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2588, allocations: 0 / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.2592, allocations: 52 kB / 442.9 MB, free: 12.07 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.0001251/0.2593, allocations: 103.2 kB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.2597, allocations: 168.6 kB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2597, allocations: 4 kB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.2599, allocations: 87.89 kB / 443.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.2603, allocations: 44.61 kB / 443.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2616, allocations: 0.7276 MB / 444 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.2619, allocations: 0.748 MB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.262, allocations: 23.44 kB / 444.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.262, allocations: 0 / 444.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Templates: time 0.004704/0.2667, allocations: 2.679 MB / 447.4 MB, free: 7.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.614282485097647]