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.001441/0.001441, allocations: 116.2 kB / 21.94 MB, free: 8 kB / 14.72 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.001675/0.001675, allocations: 200.8 kB / 25.23 MB, free: 3.574 MB / 14.72 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 1.617/1.617, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 51.92 kB / 348.4 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3108, allocations: 49.17 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003659/0.3144, allocations: 2.425 MB / 400 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3155, allocations: 0.6292 MB / 400.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.3157, allocations: 7.812 kB / 400.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.3158, allocations: 42.02 kB / 400.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.316, allocations: 67.7 kB / 400.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.3162, allocations: 66.91 kB / 400.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.3165, allocations: 252.6 kB / 401.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.3167, allocations: 74.67 kB / 401.1 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.3169, allocations: 103.3 kB / 401.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.3171, allocations: 112.8 kB / 401.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.3171, allocations: 19.53 kB / 401.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.519e-05/0.3172, allocations: 24.31 kB / 401.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.3172, allocations: 46.7 kB / 401.4 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3173, allocations: 113.7 kB / 401.6 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.3177, allocations: 248.6 kB / 401.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3177, allocations: 0.9375 kB / 401.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3177, allocations: 0.6562 kB / 401.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3177, allocations: 3.938 kB / 401.8 MB, free: 6.777 MB / 318.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.0007441/0.3184, allocations: 470.5 kB / 402.3 MB, free: 6.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3185, allocations: 13.58 kB / 402.3 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.3185, allocations: 28.97 kB / 402.3 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.3189, allocations: 175.9 kB / 402.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.3189, allocations: 12.09 kB / 402.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.3189, allocations: 22.19 kB / 402.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.3194, allocations: 221.6 kB / 402.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3194, allocations: 5.109 kB / 402.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.3194, allocations: 9.094 kB / 402.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3194, allocations: 5.531 kB / 402.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.3197, allocations: 147.3 kB / 402.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.3208, allocations: 0.7397 MB / 403.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.3212, allocations: 193.5 kB / 403.8 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.3214, allocations: 99.67 kB / 403.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.3214, allocations: 2.438 kB / 403.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.3215, allocations: 37.64 kB / 404 MB, free: 5.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.3215, allocations: 0 / 404 MB, free: 5.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001455/0.3229, allocations: 0.7138 MB / 404.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.323, allocations: 81.22 kB / 404.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3231, allocations: 182.3 kB / 404.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3231, allocations: 26.77 kB / 405 MB, free: 4.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.3232, allocations: 141.3 kB / 405.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.3233, allocations: 107.8 kB / 405.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.3233, allocations: 46.16 kB / 405.2 MB, free: 4.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.209e-05/0.3234, allocations: 332.3 kB / 405.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3235, allocations: 63.97 kB / 405.6 MB, free: 3.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.3237, allocations: 105.8 kB / 405.7 MB, free: 3.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.324, allocations: 186.1 kB / 405.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.324, allocations: 1.375 kB / 405.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000417/0.3244, allocations: 254.5 kB / 406.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3244, allocations: 9.938 kB / 406.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.3244, allocations: 1.938 kB / 406.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3245, allocations: 1.406 kB / 406.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.3247, allocations: 60.91 kB / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3247, allocations: 1.938 kB / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3248, allocations: 19.19 kB / 406.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.3248, allocations: 11.55 kB / 406.3 MB, free: 3.668 MB / 318.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 9.656e-05/0.3249, allocations: 145.2 kB / 406.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.325, allocations: 21.7 kB / 406.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.3251, allocations: 28.42 kB / 406.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3251, allocations: 3.406 kB / 406.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3251, allocations: 0 / 406.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3251, allocations: 2.812 kB / 406.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007699/0.3258, allocations: 0.5552 MB / 407 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3259, allocations: 2.141 kB / 407 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.3261, allocations: 60.75 kB / 407.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3261, allocations: 2.75 kB / 407.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.3261, allocations: 7.641 kB / 407.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3261, allocations: 1.984 kB / 407.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3261, allocations: 10.62 kB / 407.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.3267, allocations: 499.6 kB / 407.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.3267, allocations: 19.66 kB / 407.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.3268, allocations: 7.906 kB / 407.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.3269, allocations: 14.62 kB / 407.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.327, allocations: 22.42 kB / 407.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.327, allocations: 11.72 kB / 407.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.177e-05/0.3271, allocations: 130.9 kB / 407.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3271, allocations: 0 / 407.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.3274, allocations: 46.66 kB / 407.8 MB, free: 2.59 MB / 318.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.0001026/0.3275, allocations: 99.12 kB / 407.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003864/0.3279, allocations: 176.1 kB / 408.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3279, allocations: 1.406 kB / 408.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.3281, allocations: 93.61 kB / 408.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.3286, allocations: 37.39 kB / 408.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.3297, allocations: 0.7305 MB / 409 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.3299, allocations: 0.7495 MB / 409.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.3299, allocations: 22.64 kB / 409.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3299, allocations: 4 kB / 409.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of Templates: time 0.005042/0.335, allocations: 2.622 MB / 412.4 MB, free: 364 kB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.205633480101824]