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.002036/0.002036, allocations: 107.6 kB / 21.18 MB, free: 452 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.002888/0.002888, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.567/1.567, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.002009/0.002009, allocations: 61.62 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2896, allocations: 49.15 MB / 396.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003496/0.2931, allocations: 2.276 MB / 399.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000999/0.2941, allocations: 0.594 MB / 399.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.2942, allocations: 7.688 kB / 399.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.2944, allocations: 41.19 kB / 399.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.2945, allocations: 64.25 kB / 399.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.2948, allocations: 67.8 kB / 399.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.295, allocations: 256.7 kB / 400.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.2952, allocations: 66.7 kB / 400.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.2954, allocations: 103.5 kB / 400.3 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.2955, allocations: 88.58 kB / 400.4 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.2956, allocations: 19.62 kB / 400.4 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.45e-05/0.2956, allocations: 24.31 kB / 400.4 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.2956, allocations: 54.23 kB / 400.5 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.142e-05/0.2957, allocations: 93.05 kB / 400.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.2961, allocations: 254.9 kB / 400.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2961, allocations: 0 / 400.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2961, allocations: 0 / 400.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.2961, allocations: 0 / 400.8 MB, free: 6.887 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.0007124/0.2968, allocations: 466.7 kB / 401.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2968, allocations: 16.89 kB / 401.3 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.2969, allocations: 30.19 kB / 401.3 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.2972, allocations: 176.7 kB / 401.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2973, allocations: 15.72 kB / 401.5 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.2973, allocations: 18.12 kB / 401.5 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.2978, allocations: 221.7 kB / 401.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.2978, allocations: 5.078 kB / 401.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.2979, allocations: 6.797 kB / 401.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2979, allocations: 12.34 kB / 401.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.2982, allocations: 145.8 kB / 401.9 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.2993, allocations: 0.657 MB / 402.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.2997, allocations: 185 kB / 402.7 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.2999, allocations: 103.5 kB / 402.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.3, allocations: 7.594 kB / 402.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.3, allocations: 33 kB / 402.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.482e-06/0.3, allocations: 0 / 402.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001498/0.3015, allocations: 0.7155 MB / 403.6 MB, free: 4.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.3015, allocations: 84.52 kB / 403.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3016, allocations: 163.6 kB / 403.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3017, allocations: 30.8 kB / 403.9 MB, free: 4.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.888e-05/0.3017, allocations: 148.7 kB / 404 MB, free: 4.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.3018, allocations: 95.92 kB / 404.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3019, allocations: 48.14 kB / 404.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.302, allocations: 329.7 kB / 404.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.3022, allocations: 64.61 kB / 404.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.3023, allocations: 104.7 kB / 404.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.3027, allocations: 187.5 kB / 404.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3027, allocations: 0 / 404.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004278/0.3031, allocations: 246.8 kB / 405.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3031, allocations: 9.438 kB / 405.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3031, allocations: 5.219 kB / 405.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.3031, allocations: 2.406 kB / 405.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.3034, allocations: 59.34 kB / 405.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3034, allocations: 4.688 kB / 405.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3035, allocations: 9.359 kB / 405.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.3035, allocations: 12.64 kB / 405.2 MB, free: 3.852 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 0.0001039/0.3036, allocations: 141.1 kB / 405.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.3037, allocations: 24.7 kB / 405.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.3038, allocations: 27.64 kB / 405.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3038, allocations: 7.438 kB / 405.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3038, allocations: 1.156 kB / 405.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3038, allocations: 2.062 kB / 405.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.3045, allocations: 0.4913 MB / 405.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3045, allocations: 1.188 kB / 405.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.3048, allocations: 57.23 kB / 405.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3048, allocations: 1.438 kB / 405.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.3048, allocations: 11.59 kB / 405.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3048, allocations: 7.266 kB / 405.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.3048, allocations: 5.344 kB / 405.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.3054, allocations: 498.8 kB / 406.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.3054, allocations: 23.8 kB / 406.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.3055, allocations: 11.55 kB / 406.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3056, allocations: 10.19 kB / 406.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.3057, allocations: 28.17 kB / 406.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3057, allocations: 10.84 kB / 406.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.982e-05/0.3058, allocations: 123.2 kB / 406.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3058, allocations: 0 / 406.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003556/0.3062, allocations: 50.12 kB / 406.7 MB, free: 2.805 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.0001055/0.3063, allocations: 98.06 kB / 406.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.3067, allocations: 172.3 kB / 406.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3067, allocations: 1.375 kB / 407 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.3069, allocations: 102.7 kB / 407.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.3073, allocations: 34.41 kB / 407.1 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3085, allocations: 0.6935 MB / 407.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.3086, allocations: 141 kB / 407.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.306e-05/0.3087, allocations: 18.12 kB / 407.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.3088, allocations: 24.95 kB / 408 MB, free: 2.008 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3088, allocations: 0 / 408 MB, free: 2.008 MB / 318.1 MB Notification: Performance of Templates: time 0.007657/0.3164, allocations: 2.224 MB / 410.2 MB, free: 1.453 MB / 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.884964022785425]