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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 118.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.81 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09399, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00329/0.09731, allocations: 2.434 MB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.09828, allocations: 0.6582 MB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.09839, allocations: 4 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.09854, allocations: 39.59 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.09867, allocations: 71.3 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.09894, allocations: 79.83 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.0992, allocations: 250.9 kB / 362.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.09938, allocations: 105.3 kB / 362.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.09956, allocations: 103.6 kB / 362.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.09971, allocations: 107.5 kB / 362.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.09975, allocations: 20 kB / 362.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.09982, allocations: 24 kB / 362.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.09987, allocations: 47.84 kB / 362.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.657e-05/0.09997, allocations: 119.4 kB / 362.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1002, allocations: 259.1 kB / 363.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1003, allocations: 4 kB / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1003, allocations: 0 / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.1003, allocations: 0 / 363.2 MB, free: 9.043 MB / 302.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.0007475/0.101, allocations: 0.5185 MB / 363.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1011, allocations: 8.031 kB / 363.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.1013, allocations: 56.53 kB / 363.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.1016, allocations: 243.9 kB / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1016, allocations: 12.81 kB / 364 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.1017, allocations: 24.38 kB / 364.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.102, allocations: 225.2 kB / 364.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1021, allocations: 3.906 kB / 364.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.1021, allocations: 16 kB / 364.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1021, allocations: 7.984 kB / 364.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.1024, allocations: 143.9 kB / 364.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.1035, allocations: 0.7831 MB / 365.2 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.1039, allocations: 197 kB / 365.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.1041, allocations: 109.7 kB / 365.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1041, allocations: 4 kB / 365.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1042, allocations: 42.61 kB / 365.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.1042, allocations: 0 / 365.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001502/0.1057, allocations: 0.8628 MB / 366.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1057, allocations: 81.11 kB / 366.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1059, allocations: 183.2 kB / 366.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1059, allocations: 25.7 kB / 366.7 MB, free: 5.195 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.106, allocations: 148.3 kB / 366.9 MB, free: 5.047 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.1061, allocations: 90.66 kB / 366.9 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.1062, allocations: 49.7 kB / 367 MB, free: 4.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1063, allocations: 338.8 kB / 367.3 MB, free: 4.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1064, allocations: 59.97 kB / 367.4 MB, free: 4.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.1066, allocations: 112.2 kB / 367.5 MB, free: 4.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.1069, allocations: 194.5 kB / 367.7 MB, free: 4.176 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1069, allocations: 4 kB / 367.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004056/0.1073, allocations: 240.3 kB / 367.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1074, allocations: 12.09 kB / 367.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1074, allocations: 0 / 367.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1074, allocations: 4 kB / 367.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.1076, allocations: 63.91 kB / 368 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1077, allocations: 3.984 kB / 368 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1078, allocations: 11.94 kB / 368 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1078, allocations: 8 kB / 368 MB, free: 3.832 MB / 302.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.0001078/0.1079, allocations: 145.7 kB / 368.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.108, allocations: 23.72 kB / 368.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.1081, allocations: 29.86 kB / 368.2 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1081, allocations: 4 kB / 368.2 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1081, allocations: 3.938 kB / 368.2 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1081, allocations: 4 kB / 368.2 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007746/0.1089, allocations: 0.5826 MB / 368.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1089, allocations: 8.016 kB / 368.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.1092, allocations: 55.97 kB / 368.9 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1092, allocations: 0 / 368.9 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1092, allocations: 15.92 kB / 368.9 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1092, allocations: 7.938 kB / 368.9 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1092, allocations: 7.938 kB / 368.9 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005865/0.1098, allocations: 490.7 kB / 369.4 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.1099, allocations: 96.83 kB / 369.5 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.1099, allocations: 8 kB / 369.5 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.1101, allocations: 15.97 kB / 369.5 MB, free: 2.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.1101, allocations: 23.92 kB / 369.5 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1102, allocations: 11.98 kB / 369.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.845e-05/0.1103, allocations: 132.2 kB / 369.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1103, allocations: 0 / 369.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003322/0.1106, allocations: 52 kB / 369.7 MB, free: 2.016 MB / 302.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.0001101/0.1107, allocations: 103.2 kB / 369.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.1111, allocations: 179.7 kB / 370 MB, free: 1.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1111, allocations: 4 kB / 370 MB, free: 1.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.1113, allocations: 91.89 kB / 370.1 MB, free: 1.637 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.1118, allocations: 41.91 kB / 370.1 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1128, allocations: 0.6882 MB / 370.8 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.1131, allocations: 0.7441 MB / 371.6 MB, free: 108 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.96e-05/0.1132, allocations: 25.94 kB / 371.6 MB, free: 80 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.1133, allocations: 19.44 kB / 371.6 MB, free: 60 kB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1133, allocations: 0 / 371.6 MB, free: 60 kB / 302.1 MB Notification: Performance of Templates: time 0.1445/0.2578, allocations: 2.022 MB / 373.6 MB, free: 19.46 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches