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.001037/0.001037, allocations: 96.84 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 205.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000219/0.000219, allocations: 7.984 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002201/0.1063, allocations: 1.952 MB / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008428/0.1072, allocations: 0.6197 MB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.1073, allocations: 4 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.05e-05/0.1073, allocations: 27.77 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.1075, allocations: 83.72 kB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.1077, allocations: 47.94 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.1079, allocations: 171.6 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.1081, allocations: 77.31 kB / 361 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.1083, allocations: 79.72 kB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.1084, allocations: 99.53 kB / 361.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.1085, allocations: 12 kB / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.352e-05/0.1085, allocations: 12 kB / 361.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.1086, allocations: 31.84 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.1086, allocations: 69.58 kB / 361.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1088, allocations: 187.7 kB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1088, allocations: 0 / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1088, allocations: 0 / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1088, allocations: 0 / 361.5 MB, free: 10.45 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.0006451/0.1095, allocations: 498.9 kB / 362 MB, free: 9.914 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1095, allocations: 8.031 kB / 362 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.1098, allocations: 47.7 kB / 362.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.11, allocations: 235.4 kB / 362.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.11, allocations: 16.38 kB / 362.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.1101, allocations: 23.91 kB / 362.3 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.1104, allocations: 217.3 kB / 362.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1105, allocations: 4 kB / 362.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.1105, allocations: 11.98 kB / 362.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1105, allocations: 8 kB / 362.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.1108, allocations: 148.5 kB / 362.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.112, allocations: 0.7996 MB / 363.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.1124, allocations: 201 kB / 363.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1124, allocations: 4 kB / 363.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1125, allocations: 34.81 kB / 363.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.1125, allocations: 0 / 363.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001541/0.114, allocations: 0.8783 MB / 364.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1141, allocations: 81.11 kB / 364.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1142, allocations: 190.1 kB / 364.9 MB, free: 6.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1142, allocations: 25.7 kB / 364.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.1143, allocations: 144.3 kB / 365 MB, free: 6.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.1144, allocations: 90.66 kB / 365.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.1144, allocations: 11.94 kB / 365.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1145, allocations: 330.8 kB / 365.5 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1147, allocations: 63.97 kB / 365.5 MB, free: 6.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1148, allocations: 116.2 kB / 365.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.115, allocations: 86.56 kB / 365.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.115, allocations: 0 / 365.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004037/0.1154, allocations: 249.2 kB / 366 MB, free: 5.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1155, allocations: 7.938 kB / 366 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1155, allocations: 4 kB / 366 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1155, allocations: 4.094 kB / 366 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.1157, allocations: 67.91 kB / 366.1 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1158, allocations: 0 / 366.1 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1159, allocations: 23.84 kB / 366.1 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.1159, allocations: 8 kB / 366.1 MB, free: 5.516 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.116, allocations: 138.2 kB / 366.2 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.1161, allocations: 19.81 kB / 366.2 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.144e-05/0.1162, allocations: 33.86 kB / 366.3 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1162, allocations: 4 kB / 366.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1162, allocations: 0 / 366.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1162, allocations: 0 / 366.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007869/0.117, allocations: 0.5887 MB / 366.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.117, allocations: 3.984 kB / 366.9 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.1173, allocations: 59.91 kB / 366.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1173, allocations: 0 / 366.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1173, allocations: 15.95 kB / 366.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1173, allocations: 4 kB / 367 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1173, allocations: 0 / 367 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.118, allocations: 0.5364 MB / 367.5 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.1181, allocations: 100.9 kB / 367.6 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.1181, allocations: 8 kB / 367.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1183, allocations: 8 kB / 367.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.1184, allocations: 27.92 kB / 367.6 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1184, allocations: 8 kB / 367.6 MB, free: 3.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.711e-05/0.1185, allocations: 131.2 kB / 367.8 MB, free: 3.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1185, allocations: 0 / 367.8 MB, free: 3.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000332/0.1188, allocations: 48 kB / 367.8 MB, free: 3.648 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000102/0.1189, allocations: 103.2 kB / 367.9 MB, free: 3.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003746/0.1193, allocations: 196.4 kB / 368.1 MB, free: 3.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1193, allocations: 0 / 368.1 MB, free: 3.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.1195, allocations: 95.84 kB / 368.2 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1199, allocations: 44.22 kB / 368.2 MB, free: 3.211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.121, allocations: 0.8264 MB / 369.1 MB, free: 2.348 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1212, allocations: 0.7523 MB / 369.8 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.765e-05/0.1213, allocations: 21.94 kB / 369.8 MB, free: 1.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.1214, allocations: 19.44 kB / 369.9 MB, free: 1.523 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1214, allocations: 4 kB / 369.9 MB, free: 1.52 MB / 302.1 MB Notification: Performance of Templates: time 0.161/0.2824, allocations: 1.77 MB / 371.6 MB, free: 19.16 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches