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.001738/0.001738, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.002107/0.002107, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.397/1.397, allocations: 230.4 MB / 255.4 MB, free: 14.81 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.003089/0.003089, allocations: 67.83 kB / 374.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1157, allocations: 53.31 MB / 428 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003662/0.1193, allocations: 2.455 MB / 430.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1204, allocations: 0.6582 MB / 431.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1205, allocations: 4 kB / 431.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.1207, allocations: 39.58 kB / 431.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.1208, allocations: 71.36 kB / 431.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1211, allocations: 67.89 kB / 431.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.1214, allocations: 262.8 kB / 431.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1216, allocations: 73.34 kB / 431.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.1218, allocations: 111.6 kB / 431.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.1219, allocations: 111.5 kB / 431.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.122, allocations: 20 kB / 431.9 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.053e-05/0.1221, allocations: 20 kB / 431.9 MB, free: 480 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.1221, allocations: 55.78 kB / 432 MB, free: 424 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1222, allocations: 119.4 kB / 432.1 MB, free: 304 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.1226, allocations: 262.9 kB / 432.3 MB, free: 40 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1226, allocations: 0 / 432.3 MB, free: 40 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1226, allocations: 0 / 432.3 MB, free: 40 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1226, allocations: 0 / 432.3 MB, free: 40 kB / 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.1837/0.3062, allocations: 0.5266 MB / 432.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3063, allocations: 9.906 kB / 432.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.3065, allocations: 50.84 kB / 432.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.3068, allocations: 239.6 kB / 433.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3069, allocations: 16.09 kB / 433.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.3069, allocations: 25.08 kB / 433.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.3073, allocations: 222.6 kB / 433.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.3073, allocations: 3.688 kB / 433.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.3074, allocations: 9.094 kB / 433.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.3074, allocations: 5.594 kB / 433.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.3077, allocations: 143.3 kB / 433.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009809/0.3087, allocations: 0.7903 MB / 434.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.3091, allocations: 185.1 kB / 434.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.3093, allocations: 95.58 kB / 434.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3093, allocations: 3.203 kB / 434.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3093, allocations: 42.22 kB / 434.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.3093, allocations: 0 / 434.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001414/0.3107, allocations: 0.8712 MB / 435.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.3108, allocations: 81.44 kB / 435.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3109, allocations: 180.5 kB / 435.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3109, allocations: 35.48 kB / 435.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.311, allocations: 140.3 kB / 436 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.311, allocations: 100.2 kB / 436.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.3111, allocations: 47.62 kB / 436.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.3111, allocations: 332.6 kB / 436.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.3113, allocations: 65.77 kB / 436.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.3114, allocations: 112.9 kB / 436.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.3117, allocations: 183 kB / 436.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3117, allocations: 7.25 kB / 436.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003952/0.3121, allocations: 247.4 kB / 437.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3121, allocations: 8.281 kB / 437.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3121, allocations: 2.375 kB / 437.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.3122, allocations: 4.297 kB / 437.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.3124, allocations: 64.5 kB / 437.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3124, allocations: 6.25 kB / 437.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3125, allocations: 14.42 kB / 437.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.3125, allocations: 11.41 kB / 437.2 MB, free: 9.086 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 8.773e-05/0.3126, allocations: 139.3 kB / 437.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.3127, allocations: 26.8 kB / 437.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.3127, allocations: 28.58 kB / 437.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3127, allocations: 3.375 kB / 437.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3127, allocations: 3.438 kB / 437.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3128, allocations: 3.219 kB / 437.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.3134, allocations: 0.577 MB / 437.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3134, allocations: 5.938 kB / 438 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.3137, allocations: 58.41 kB / 438 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3137, allocations: 4.094 kB / 438 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.3137, allocations: 7.5 kB / 438 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3137, allocations: 5.562 kB / 438 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3137, allocations: 5.266 kB / 438 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.3143, allocations: 493 kB / 438.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.3143, allocations: 96.58 kB / 438.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.3144, allocations: 7.641 kB / 438.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3145, allocations: 20.16 kB / 438.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.3146, allocations: 17.84 kB / 438.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3146, allocations: 12.64 kB / 438.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.576e-05/0.3147, allocations: 138.6 kB / 438.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3147, allocations: 0 / 438.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.315, allocations: 46.59 kB / 438.8 MB, free: 7.922 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 9.861e-05/0.3151, allocations: 107.7 kB / 438.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003713/0.3155, allocations: 183.9 kB / 439.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3155, allocations: 1.156 kB / 439.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.3157, allocations: 92.42 kB / 439.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.3161, allocations: 37.28 kB / 439.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.3172, allocations: 0.7227 MB / 440 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.3173, allocations: 0.7427 MB / 440.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.3174, allocations: 25.98 kB / 440.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3174, allocations: 1.531 kB / 440.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of Templates: time 0.005323/0.3227, allocations: 2.68 MB / 443.4 MB, free: 6.281 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.859803620027378]