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.0009482/0.0009482, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002362, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009436/0.0009436, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002829/0.003773, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9591/0.9591, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08738/1.046, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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: 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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.766e-05, allocations: 10.25 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002636/0.002664, allocations: 2.483 MB / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003766, allocations: 0.6697 MB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.003867, allocations: 7.938 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.729e-05/0.003945, allocations: 39.58 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.647e-05/0.004041, allocations: 67.36 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.004199, allocations: 87.69 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.004411, allocations: 266.7 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.004541, allocations: 75.66 kB / 248.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.004739, allocations: 164.4 kB / 248.8 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.004881, allocations: 83.77 kB / 248.9 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.004909, allocations: 20 kB / 249 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.004982, allocations: 23.98 kB / 249 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.00501, allocations: 39.81 kB / 249 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.005063, allocations: 67.88 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.005263, allocations: 159.4 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.64e-05/0.005279, allocations: 0 / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00528, allocations: 3.938 kB / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.005296, allocations: 4 kB / 249.2 MB, free: 9.406 MB / 250.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.0005637/0.00586, allocations: 479.9 kB / 249.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.005892, allocations: 11.97 kB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.006077, allocations: 130 kB / 249.8 MB, free: 8.758 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.006256, allocations: 173.4 kB / 250 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.006271, allocations: 20.88 kB / 250 MB, free: 8.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.006299, allocations: 16.38 kB / 250.1 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.00649, allocations: 182.8 kB / 250.2 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.006501, allocations: 0 / 250.2 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.006517, allocations: 19.97 kB / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.006524, allocations: 4 kB / 250.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.006604, allocations: 55.89 kB / 250.3 MB, free: 8.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.007159, allocations: 0.541 MB / 250.9 MB, free: 7.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.007342, allocations: 125.2 kB / 251 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.498e-05/0.007417, allocations: 61.92 kB / 251 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.007435, allocations: 8 kB / 251 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.007458, allocations: 38.56 kB / 251.1 MB, free: 7.418 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.843e-06/0.00746, allocations: 0 / 251.1 MB, free: 7.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007923/0.008252, allocations: 0.5212 MB / 251.6 MB, free: 6.848 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.008289, allocations: 81.11 kB / 251.7 MB, free: 6.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.008376, allocations: 166.5 kB / 251.8 MB, free: 6.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.008389, allocations: 29.7 kB / 251.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.008441, allocations: 140.4 kB / 252 MB, free: 6.395 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.008492, allocations: 95.16 kB / 252.1 MB, free: 6.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.008539, allocations: 53.67 kB / 252.2 MB, free: 6.242 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.887e-05/0.008618, allocations: 330.8 kB / 252.5 MB, free: 5.91 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.008648, allocations: 23.98 kB / 252.5 MB, free: 5.887 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.008705, allocations: 73.3 kB / 252.6 MB, free: 5.801 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.486e-05/0.0088, allocations: 104.1 kB / 252.7 MB, free: 5.684 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.008803, allocations: 4 kB / 252.7 MB, free: 5.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001418/0.008945, allocations: 137.5 kB / 252.8 MB, free: 5.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.008961, allocations: 16.03 kB / 252.8 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.008966, allocations: 0 / 252.8 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.008979, allocations: 7.938 kB / 252.8 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.009177, allocations: 78.98 kB / 252.9 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.009181, allocations: 0 / 252.9 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.009226, allocations: 12 kB / 252.9 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.009236, allocations: 7.984 kB / 252.9 MB, free: 5.422 MB / 250.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 7.449e-05/0.00931, allocations: 121.8 kB / 253.1 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.009345, allocations: 23.92 kB / 253.1 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.009379, allocations: 29.81 kB / 253.1 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.009385, allocations: 11.97 kB / 253.1 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.009386, allocations: 0 / 253.1 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.00939, allocations: 0 / 253.1 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.009765, allocations: 376.8 kB / 253.5 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.009768, allocations: 0 / 253.5 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.009927, allocations: 63.97 kB / 253.5 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.009944, allocations: 19.94 kB / 253.6 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.009948, allocations: 8 kB / 253.6 MB, free: 4.738 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.009958, allocations: 4 kB / 253.6 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.009961, allocations: 7.938 kB / 253.6 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.009962, allocations: 0 / 253.6 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.01018, allocations: 361.7 kB / 253.9 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.0102, allocations: 8 kB / 253.9 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.01027, allocations: 4 kB / 254 MB, free: 4.336 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.01031, allocations: 31.83 kB / 254 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.01032, allocations: 8 kB / 254 MB, free: 4.297 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.512e-05/0.01035, allocations: 40.81 kB / 254 MB, free: 4.254 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01035, allocations: 0 / 254 MB, free: 4.254 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.01052, allocations: 52 kB / 254.1 MB, free: 4.203 MB / 250.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 8.779e-05/0.01061, allocations: 84.36 kB / 254.2 MB, free: 4.109 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.01074, allocations: 108.8 kB / 254.3 MB, free: 4 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.01074, allocations: 0 / 254.3 MB, free: 4 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/0.0108, allocations: 71.64 kB / 254.3 MB, free: 3.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.01104, allocations: 61.05 kB / 254.4 MB, free: 3.871 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.01245, allocations: 0.5038 MB / 254.9 MB, free: 3.328 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.01275, allocations: 84.31 kB / 255 MB, free: 3.227 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.305e-05/0.01282, allocations: 17.95 kB / 255 MB, free: 3.211 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.01291, allocations: 91.3 kB / 255.1 MB, free: 3.121 MB / 250.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01291, allocations: 4 kB / 255.1 MB, free: 3.117 MB / 250.7 MB Notification: Performance of Templates: time 0.004054/0.01696, allocations: 2.271 MB / 257.4 MB, free: 0.8945 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.530377912335098]