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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00228/0.00228, allocations: 192.7 kB / 22.93 MB, free: 5.48 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.531/1.531, allocations: 207.6 MB / 233.5 MB, free: 10.99 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 55.92 kB / 345.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.328, allocations: 49.13 MB / 394.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.0043/0.3323, allocations: 2.416 MB / 396.9 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3334, allocations: 0.6321 MB / 397.6 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.3335, allocations: 8.094 kB / 397.6 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.3337, allocations: 38.67 kB / 397.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.3339, allocations: 67.73 kB / 397.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3341, allocations: 61.64 kB / 397.7 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.3345, allocations: 253.7 kB / 398 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.3347, allocations: 78.17 kB / 398.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.3348, allocations: 104.5 kB / 398.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.335, allocations: 109.6 kB / 398.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.335, allocations: 20.12 kB / 398.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.43e-05/0.3351, allocations: 20.56 kB / 398.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.3351, allocations: 46.5 kB / 398.3 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3353, allocations: 115.9 kB / 398.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.3356, allocations: 251.4 kB / 398.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3356, allocations: 0 / 398.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3356, allocations: 0 / 398.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.3356, allocations: 1.562 kB / 398.7 MB, free: 6.68 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.00077/0.3364, allocations: 0.5248 MB / 399.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3364, allocations: 14.44 kB / 399.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.3365, allocations: 32.62 kB / 399.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.3368, allocations: 241.7 kB / 399.5 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3368, allocations: 12.84 kB / 399.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.3368, allocations: 25.62 kB / 399.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.3373, allocations: 216.3 kB / 399.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3373, allocations: 14.03 kB / 399.8 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.3373, allocations: 13.2 kB / 399.8 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3373, allocations: 5.438 kB / 399.8 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.3376, allocations: 142 kB / 399.9 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3387, allocations: 0.778 MB / 400.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.3391, allocations: 193.4 kB / 400.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.3393, allocations: 98.39 kB / 401 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3393, allocations: 2.906 kB / 401 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.3393, allocations: 40.22 kB / 401 MB, free: 4.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.3393, allocations: 1.156 kB / 401 MB, free: 4.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001433/0.3408, allocations: 0.8675 MB / 401.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.3408, allocations: 79.94 kB / 402 MB, free: 4.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3409, allocations: 174.9 kB / 402.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3409, allocations: 35.45 kB / 402.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.341, allocations: 136.9 kB / 402.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.3411, allocations: 102.7 kB / 402.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.3411, allocations: 47.28 kB / 402.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.642e-05/0.3412, allocations: 330 kB / 402.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.3413, allocations: 63.86 kB / 402.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.3415, allocations: 117.1 kB / 403 MB, free: 3.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.3418, allocations: 185.1 kB / 403.2 MB, free: 3.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3418, allocations: 1.281 kB / 403.2 MB, free: 3.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003951/0.3422, allocations: 258.4 kB / 403.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3422, allocations: 6.094 kB / 403.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3422, allocations: 1.156 kB / 403.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3422, allocations: 3.219 kB / 403.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.3425, allocations: 59.78 kB / 403.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3425, allocations: 2.281 kB / 403.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.3426, allocations: 11.19 kB / 403.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3426, allocations: 16.09 kB / 403.5 MB, free: 3.176 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 8.968e-05/0.3427, allocations: 139.5 kB / 403.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.3428, allocations: 30.33 kB / 403.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.3428, allocations: 28.31 kB / 403.7 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3428, allocations: 3.625 kB / 403.7 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.3428, allocations: 2.359 kB / 403.7 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3428, allocations: 5.344 kB / 403.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008238/0.3437, allocations: 0.5912 MB / 404.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3437, allocations: 1.438 kB / 404.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.3439, allocations: 58.81 kB / 404.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.344, allocations: 1.562 kB / 404.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.344, allocations: 2.844 kB / 404.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.344, allocations: 6.594 kB / 404.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.344, allocations: 9.531 kB / 404.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.3446, allocations: 494.7 kB / 404.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.3447, allocations: 100.9 kB / 405 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.3447, allocations: 7 kB / 405 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.3449, allocations: 7.234 kB / 405 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.3449, allocations: 25.7 kB / 405 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3449, allocations: 11.05 kB / 405 MB, free: 2.062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.3451, allocations: 134.9 kB / 405.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3451, allocations: 0 / 405.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.3454, allocations: 50.97 kB / 405.2 MB, free: 1.961 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.0001147/0.3456, allocations: 106.8 kB / 405.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.346, allocations: 172.4 kB / 405.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.346, allocations: 1.969 kB / 405.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3461, allocations: 92.02 kB / 405.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.3466, allocations: 37.36 kB / 405.6 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.3477, allocations: 0.6964 MB / 406.3 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.3479, allocations: 0.7462 MB / 407 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.699e-05/0.348, allocations: 18.45 kB / 407.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.3481, allocations: 21.03 kB / 407.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3481, allocations: 3.938 kB / 407.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of Templates: time 0.005772/0.3539, allocations: 2.131 MB / 409.2 MB, free: 224 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/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: 4.717496615834534]