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.001404/0.001404, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.9 MB, free: 9.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.64 kB / 306.9 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09686/0.09808, allocations: 50.53 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004914/0.1031, allocations: 2.473 MB / 359.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1045, allocations: 0.6699 MB / 360.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.1048, allocations: 4 kB / 360.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.105, allocations: 23.78 kB / 360.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1053, allocations: 59.55 kB / 360.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1056, allocations: 75.86 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.106, allocations: 238.9 kB / 361 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.1062, allocations: 89.89 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.1065, allocations: 95.64 kB / 361.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1067, allocations: 107.5 kB / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.1068, allocations: 16 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.893e-05/0.1069, allocations: 16 kB / 361.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.1069, allocations: 35.84 kB / 361.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.1071, allocations: 123.3 kB / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1074, allocations: 187.8 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1074, allocations: 0 / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1074, allocations: 0 / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1074, allocations: 0 / 361.6 MB, free: 10.05 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.000942/0.1083, allocations: 0.5186 MB / 362.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1084, allocations: 12.03 kB / 362.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.1087, allocations: 52.55 kB / 362.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.109, allocations: 239.9 kB / 362.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.109, allocations: 16.81 kB / 362.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.1091, allocations: 20.38 kB / 362.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.1095, allocations: 221.2 kB / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.1096, allocations: 3.906 kB / 362.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.1096, allocations: 8 kB / 362.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.1096, allocations: 12 kB / 362.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.1099, allocations: 139.9 kB / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.1111, allocations: 0.7948 MB / 363.6 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.1116, allocations: 197 kB / 363.8 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.1118, allocations: 109.6 kB / 363.9 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1118, allocations: 0 / 363.9 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1119, allocations: 46.56 kB / 364 MB, free: 7.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.1119, allocations: 4 kB / 364 MB, free: 7.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.00167/0.1136, allocations: 0.863 MB / 364.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.1136, allocations: 81.11 kB / 364.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1138, allocations: 182.6 kB / 365.1 MB, free: 6.234 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1138, allocations: 29.7 kB / 365.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/0.1139, allocations: 144.3 kB / 365.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.114, allocations: 94.64 kB / 365.4 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.1141, allocations: 45.7 kB / 365.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1142, allocations: 334.8 kB / 365.7 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.1144, allocations: 63.97 kB / 365.8 MB, free: 5.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.1146, allocations: 116.2 kB / 365.9 MB, free: 5.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.115, allocations: 186.6 kB / 366.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.115, allocations: 0 / 366.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004444/0.1154, allocations: 245.2 kB / 366.3 MB, free: 4.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1155, allocations: 7.938 kB / 366.4 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1155, allocations: 0 / 366.4 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1155, allocations: 4 kB / 366.4 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.1157, allocations: 59.97 kB / 366.4 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1158, allocations: 8.031 kB / 366.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.1159, allocations: 15.94 kB / 366.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1159, allocations: 11.98 kB / 366.5 MB, free: 4.836 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.0001345/0.1161, allocations: 141.7 kB / 366.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.1161, allocations: 23.72 kB / 366.6 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.1162, allocations: 29.88 kB / 366.6 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1162, allocations: 7.984 kB / 366.7 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1162, allocations: 3.984 kB / 366.7 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1162, allocations: 0 / 366.7 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008538/0.1171, allocations: 0.5865 MB / 367.2 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1171, allocations: 0 / 367.2 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.1174, allocations: 55.91 kB / 367.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.1174, allocations: 8.094 kB / 367.3 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1174, allocations: 4 kB / 367.3 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.1174, allocations: 4 kB / 367.3 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1174, allocations: 7.875 kB / 367.3 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.1181, allocations: 494.7 kB / 367.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.1182, allocations: 104.9 kB / 367.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1182, allocations: 0 / 367.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.1184, allocations: 8 kB / 367.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.1185, allocations: 27.91 kB / 367.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.1185, allocations: 4 kB / 367.9 MB, free: 3.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1187, allocations: 144.9 kB / 368.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1187, allocations: 3.938 kB / 368.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000343/0.119, allocations: 48 kB / 368.1 MB, free: 3.031 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.0001216/0.1191, allocations: 107.7 kB / 368.2 MB, free: 2.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.1196, allocations: 175.8 kB / 368.4 MB, free: 2.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1196, allocations: 192 / 368.4 MB, free: 2.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.1198, allocations: 99.08 kB / 368.5 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.1203, allocations: 39.97 kB / 368.5 MB, free: 2.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1216, allocations: 0.7893 MB / 369.3 MB, free: 1.777 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1219, allocations: 0.756 MB / 370.1 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.122, allocations: 19.44 kB / 370.1 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of SimCode: time 2.404e-06/0.122, allocations: 0 / 370.1 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of Templates: time 0.1625/0.2846, allocations: 2.638 MB / 372.8 MB, free: 19.38 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/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