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.001311/0.001311, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 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.001253/0.001253, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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/1, allocations: 177 MB / 204.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 1.282e-06/1.282e-06, allocations: 0 / 272.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.849e-05, allocations: 5.125 kB / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002469/0.002488, allocations: 2.457 MB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.00388, allocations: 0.6465 MB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003987, allocations: 7.938 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.004119, allocations: 35.59 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.004231, allocations: 75.28 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.004491, allocations: 79.83 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.004717, allocations: 266.7 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.004858, allocations: 65.69 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.005059, allocations: 159.6 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.005168, allocations: 79.78 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.005195, allocations: 20 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.603e-05/0.005251, allocations: 27.94 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.005283, allocations: 51.8 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.005342, allocations: 79.83 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.00557, allocations: 183.3 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005572, allocations: 0 / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005573, allocations: 0 / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.005577, allocations: 0 / 277.1 MB, free: 13.26 MB / 266.7 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.0005742/0.006152, allocations: 0.5468 MB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.006189, allocations: 11.98 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.006356, allocations: 60.73 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.006589, allocations: 196.2 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.006605, allocations: 16.88 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.006639, allocations: 16.38 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.006894, allocations: 201 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.006909, allocations: 4.188 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.006927, allocations: 7.938 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.006937, allocations: 4 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.007062, allocations: 71.94 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.007761, allocations: 0.7424 MB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.008006, allocations: 162 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.00812, allocations: 67.34 kB / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.008136, allocations: 4 kB / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.00816, allocations: 41.33 kB / 279.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.695e-06/0.008163, allocations: 11.94 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009123/0.009075, allocations: 0.6158 MB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.009114, allocations: 81.11 kB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.00924, allocations: 225.9 kB / 280.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.009256, allocations: 29.7 kB / 280.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.009346, allocations: 187.1 kB / 280.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.00941, allocations: 99.17 kB / 280.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.009475, allocations: 55.36 kB / 280.5 MB, free: 9.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.009609, allocations: 0.5001 MB / 281 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.009666, allocations: 31.98 kB / 281.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-05/0.009753, allocations: 95.39 kB / 281.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.009918, allocations: 139.8 kB / 281.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00992, allocations: 0 / 281.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002317/0.01015, allocations: 192.5 kB / 281.5 MB, free: 8.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.01017, allocations: 8 kB / 281.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01018, allocations: 3.938 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.0102, allocations: 16.02 kB / 281.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.01035, allocations: 51.98 kB / 281.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.01036, allocations: 11.92 kB / 281.6 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.01041, allocations: 8 kB / 281.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.01042, allocations: 8 kB / 281.6 MB, free: 8.441 MB / 266.7 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.386e-05/0.0105, allocations: 168.5 kB / 281.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.01054, allocations: 27.86 kB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.01058, allocations: 33.73 kB / 281.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01059, allocations: 4 kB / 281.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01059, allocations: 4 kB / 281.8 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.0106, allocations: 0 / 281.8 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.01107, allocations: 0.5185 MB / 282.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.01107, allocations: 8 kB / 282.3 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.01121, allocations: 55.91 kB / 282.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01122, allocations: 4 kB / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.01123, allocations: 8 kB / 282.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01124, allocations: 0 / 282.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.01124, allocations: 4.094 kB / 282.4 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.01184, allocations: 0.4978 MB / 282.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.01186, allocations: 23.84 kB / 282.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.01188, allocations: 8 kB / 282.9 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.01196, allocations: 8 kB / 283 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.012, allocations: 15.97 kB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.01201, allocations: 8 kB / 283 MB, free: 6.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.234e-05/0.01207, allocations: 167.6 kB / 283.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01207, allocations: 0 / 283.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.0123, allocations: 55.94 kB / 283.2 MB, free: 6.734 MB / 266.7 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 7.501e-05/0.01238, allocations: 107.2 kB / 283.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.01257, allocations: 127.4 kB / 283.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01257, allocations: 0 / 283.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.01264, allocations: 79.52 kB / 283.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.01295, allocations: 40.23 kB / 283.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008623/0.01382, allocations: 0.5986 MB / 284.1 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.208e-05/0.01387, allocations: 83.92 kB / 284.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.945e-05/0.01393, allocations: 25.94 kB / 284.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.01398, allocations: 20.5 kB / 284.3 MB, free: 5.57 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01398, allocations: 0 / 284.3 MB, free: 5.57 MB / 266.7 MB Notification: Performance of Templates: time 0.003882/0.01786, allocations: 2.087 MB / 286.4 MB, free: 3.516 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6354421321302652]