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.001259/0.001259, allocations: 78.33 kB / 21.24 MB, free: 0.543 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.001405/0.001405, allocations: 162 kB / 24.5 MB, free: 3.719 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.429/1.429, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.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: 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 0.001905/0.001905, allocations: 61.81 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09972, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003622/0.1033, allocations: 2.304 MB / 381.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1045, allocations: 0.631 MB / 381.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1046, allocations: 7.938 kB / 381.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1048, allocations: 39.58 kB / 381.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1049, allocations: 71.34 kB / 382 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1052, allocations: 71.91 kB / 382 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.1055, allocations: 266.8 kB / 382.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1057, allocations: 61.7 kB / 382.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.1059, allocations: 115.6 kB / 382.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.106, allocations: 99.47 kB / 382.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.1061, allocations: 20 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.1061, allocations: 24 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.1062, allocations: 47.83 kB / 382.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1063, allocations: 99.53 kB / 382.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.1066, allocations: 262.8 kB / 383 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1066, allocations: 0 / 383 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1066, allocations: 0 / 383 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1066, allocations: 0 / 383 MB, free: 11.35 MB / 350.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.0007944/0.1074, allocations: 473.6 kB / 383.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1075, allocations: 11.98 kB / 383.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.1077, allocations: 44.73 kB / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.108, allocations: 182.1 kB / 383.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.108, allocations: 16.88 kB / 383.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.1081, allocations: 20.33 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1085, allocations: 218.1 kB / 383.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1085, allocations: 4 kB / 383.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.1085, allocations: 8 kB / 384 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1085, allocations: 4 kB / 384 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.1089, allocations: 151.8 kB / 384.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.1099, allocations: 0.6624 MB / 384.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.1104, allocations: 193 kB / 385 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.1106, allocations: 97.67 kB / 385.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1106, allocations: 4 kB / 385.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1106, allocations: 30.56 kB / 385.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.1106, allocations: 3.938 kB / 385.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001532/0.1122, allocations: 0.7249 MB / 385.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.1122, allocations: 85.11 kB / 385.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.1124, allocations: 162.7 kB / 386.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.1124, allocations: 33.7 kB / 386.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1125, allocations: 144.4 kB / 386.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.72e-05/0.1126, allocations: 99.31 kB / 386.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.1127, allocations: 45.7 kB / 386.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1128, allocations: 334.8 kB / 386.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.113, allocations: 63.97 kB / 386.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.1131, allocations: 109.3 kB / 386.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.1135, allocations: 191.1 kB / 387.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1135, allocations: 0 / 387.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004376/0.1139, allocations: 249.2 kB / 387.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1139, allocations: 10.81 kB / 387.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.114, allocations: 0 / 387.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.114, allocations: 4 kB / 387.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.1142, allocations: 67.89 kB / 387.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1142, allocations: 0 / 387.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.1143, allocations: 16 kB / 387.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1144, allocations: 4.094 kB / 387.4 MB, free: 6.656 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.0001267/0.1145, allocations: 141.8 kB / 387.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.1146, allocations: 23.8 kB / 387.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.1146, allocations: 29.8 kB / 387.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1146, allocations: 4 kB / 387.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1146, allocations: 0 / 387.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1146, allocations: 4 kB / 387.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007769/0.1154, allocations: 0.492 MB / 388.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1154, allocations: 4.094 kB / 388.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.1157, allocations: 55.91 kB / 388.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.1157, allocations: 4 kB / 388.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.1157, allocations: 8 kB / 388.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1157, allocations: 3.984 kB / 388.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1157, allocations: 3.938 kB / 388.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/0.1164, allocations: 497.6 kB / 388.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.1165, allocations: 19.86 kB / 388.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.1165, allocations: 12 kB / 388.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1167, allocations: 12.03 kB / 388.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.1167, allocations: 23.84 kB / 388.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1167, allocations: 8 kB / 388.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1168, allocations: 127.2 kB / 388.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1168, allocations: 0 / 388.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000348/0.1172, allocations: 48 kB / 388.9 MB, free: 5.078 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.000123/0.1173, allocations: 107.2 kB / 389 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.1177, allocations: 164.4 kB / 389.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1177, allocations: 0 / 389.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.1179, allocations: 95.98 kB / 389.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1183, allocations: 32.12 kB / 389.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1195, allocations: 0.7003 MB / 390 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.1197, allocations: 137.8 kB / 390.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.57e-05/0.1198, allocations: 25.94 kB / 390.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.1198, allocations: 20.5 kB / 390.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1198, allocations: 0 / 390.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of Templates: time 0.005574/0.1254, allocations: 1.977 MB / 392.1 MB, free: 1.797 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] 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: 4.160919402027503]