Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001082/0.001082, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00175/0.002832, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0009257/0.0009257, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002125, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9636/0.9636, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1749/1.138, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: 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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.225e-05, allocations: 2.312 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.006368/0.00639, allocations: 2.444 MB / 224.4 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.007536, allocations: 0.6239 MB / 225 MB, free: 12.98 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.00766, allocations: 7.938 kB / 225.1 MB, free: 12.97 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.007766, allocations: 39.64 kB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.007903, allocations: 75.28 kB / 225.2 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.008075, allocations: 59.86 kB / 225.2 MB, free: 12.8 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.00835, allocations: 266.7 kB / 225.5 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.008516, allocations: 63.67 kB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.008756, allocations: 172.3 kB / 225.7 MB, free: 12.31 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.008901, allocations: 83.77 kB / 225.8 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.008939, allocations: 20 kB / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-05/0.008977, allocations: 20 kB / 225.8 MB, free: 12.19 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.009018, allocations: 39.81 kB / 225.9 MB, free: 12.15 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.009089, allocations: 63.88 kB / 225.9 MB, free: 12.09 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003257/0.01235, allocations: 163.4 kB / 226.1 MB, free: 11.93 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.01236, allocations: 3.938 kB / 226.1 MB, free: 11.92 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01236, allocations: 0 / 226.1 MB, free: 11.92 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.01237, allocations: 0 / 226.1 MB, free: 11.92 MB / 234.7 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.0006395/0.01301, allocations: 479.9 kB / 226.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.01305, allocations: 8.031 kB / 226.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.01312, allocations: 36.89 kB / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.01335, allocations: 166.1 kB / 226.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.01337, allocations: 12.88 kB / 226.8 MB, free: 11.19 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.01341, allocations: 28.33 kB / 226.8 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.01368, allocations: 186.7 kB / 227 MB, free: 10.96 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.0137, allocations: 4 kB / 227 MB, free: 10.96 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.01371, allocations: 4 kB / 227 MB, free: 10.95 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.01372, allocations: 4 kB / 227 MB, free: 10.95 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.01383, allocations: 55.95 kB / 227.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007444/0.01457, allocations: 0.5372 MB / 227.6 MB, free: 10.32 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.0148, allocations: 129.2 kB / 227.7 MB, free: 10.18 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.01491, allocations: 53.69 kB / 227.8 MB, free: 10.12 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.01493, allocations: 8 kB / 227.8 MB, free: 10.11 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.01496, allocations: 38.5 kB / 227.8 MB, free: 10.07 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.01496, allocations: 0 / 227.8 MB, free: 10.07 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.004023/0.01898, allocations: 0.5342 MB / 228.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.01902, allocations: 81.09 kB / 228.4 MB, free: 9.383 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.01914, allocations: 158.6 kB / 228.6 MB, free: 9.215 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.01915, allocations: 29.7 kB / 228.6 MB, free: 9.18 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.01922, allocations: 136.4 kB / 228.8 MB, free: 9.039 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.357e-05/0.01929, allocations: 99.08 kB / 228.9 MB, free: 8.941 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.01935, allocations: 53.69 kB / 228.9 MB, free: 8.883 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01946, allocations: 330.8 kB / 229.2 MB, free: 8.551 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.01952, allocations: 23.92 kB / 229.2 MB, free: 8.527 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.01959, allocations: 64.25 kB / 229.3 MB, free: 8.449 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.01973, allocations: 116 kB / 229.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01973, allocations: 0 / 229.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001948/0.01993, allocations: 145.5 kB / 229.6 MB, free: 8.172 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.01995, allocations: 11.94 kB / 229.6 MB, free: 8.16 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01996, allocations: 0 / 229.6 MB, free: 8.16 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.01997, allocations: 7.938 kB / 229.6 MB, free: 8.152 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.02023, allocations: 71.91 kB / 229.7 MB, free: 8.082 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.02023, allocations: 0 / 229.7 MB, free: 8.082 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/0.0203, allocations: 15.94 kB / 229.7 MB, free: 8.066 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.02032, allocations: 12 kB / 229.7 MB, free: 8.055 MB / 234.7 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 8.01e-05/0.0204, allocations: 121.9 kB / 229.8 MB, free: 7.926 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.02045, allocations: 23.92 kB / 229.8 MB, free: 7.902 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.0205, allocations: 29.8 kB / 229.9 MB, free: 7.879 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.0205, allocations: 4 kB / 229.9 MB, free: 7.875 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.0205, allocations: 0 / 229.9 MB, free: 7.875 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.02051, allocations: 0 / 229.9 MB, free: 7.875 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.02102, allocations: 367 kB / 230.2 MB, free: 7.484 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.02103, allocations: 0 / 230.2 MB, free: 7.484 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.02128, allocations: 71.98 kB / 230.3 MB, free: 7.414 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.02131, allocations: 19.84 kB / 230.3 MB, free: 7.395 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.02131, allocations: 0 / 230.3 MB, free: 7.395 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.02133, allocations: 8 kB / 230.3 MB, free: 7.387 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.02133, allocations: 4 kB / 230.3 MB, free: 7.383 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.02134, allocations: 0 / 230.3 MB, free: 7.383 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.02166, allocations: 358.1 kB / 230.7 MB, free: 7.008 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.02169, allocations: 8 kB / 230.7 MB, free: 7 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.02181, allocations: 11.98 kB / 230.7 MB, free: 6.988 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.02186, allocations: 19.91 kB / 230.7 MB, free: 6.969 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.02187, allocations: 8 kB / 230.7 MB, free: 6.961 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.223e-05/0.02191, allocations: 40.81 kB / 230.8 MB, free: 6.918 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02191, allocations: 0 / 230.8 MB, free: 6.918 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.0222, allocations: 52 kB / 230.8 MB, free: 6.867 MB / 234.7 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.0001353/0.02233, allocations: 88.36 kB / 230.9 MB, free: 6.77 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.02253, allocations: 109.4 kB / 231 MB, free: 6.66 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/0.02255, allocations: 4 kB / 231 MB, free: 6.656 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.02265, allocations: 84.91 kB / 231.1 MB, free: 6.57 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.02317, allocations: 410 kB / 231.5 MB, free: 6.098 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.02477, allocations: 0.4993 MB / 232 MB, free: 5.562 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.182e-05/0.02484, allocations: 83.98 kB / 232.1 MB, free: 5.461 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 8.711e-05/0.02492, allocations: 21.98 kB / 232.1 MB, free: 5.441 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.02504, allocations: 95.34 kB / 232.2 MB, free: 5.348 MB / 234.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02504, allocations: 0 / 232.2 MB, free: 5.348 MB / 234.7 MB Notification: Performance of Templates: time 0.004194/0.02923, allocations: 2.198 MB / 234.4 MB, free: 3.176 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.844281977042556]