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.001221/0.001221, allocations: 117 kB / 18.41 MB, free: 4.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 200.5 kB / 19.36 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.27 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09878/0.09992, allocations: 50.54 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003448/0.1034, allocations: 2.431 MB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1045, allocations: 0.6543 MB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1046, allocations: 4 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.1048, allocations: 47.58 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.1049, allocations: 59.42 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.1052, allocations: 79.83 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.1055, allocations: 258.8 kB / 362.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.1057, allocations: 109.3 kB / 362.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1059, allocations: 99.64 kB / 362.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.106, allocations: 111.5 kB / 362.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.1061, allocations: 20 kB / 362.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.1061, allocations: 24 kB / 362.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.1062, allocations: 47.84 kB / 362.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1063, allocations: 119.4 kB / 363 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.1066, allocations: 255.1 kB / 363.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1066, allocations: 0 / 363.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.422e-06/0.1066, allocations: 3.984 kB / 363.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1066, allocations: 0 / 363.2 MB, free: 9.051 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.0007674/0.1074, allocations: 0.5224 MB / 363.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1075, allocations: 8.031 kB / 363.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.1077, allocations: 52.47 kB / 363.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.108, allocations: 239.9 kB / 364 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1081, allocations: 12.81 kB / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.1081, allocations: 28.38 kB / 364.1 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.1085, allocations: 221.3 kB / 364.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1086, allocations: 3.906 kB / 364.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.1086, allocations: 19.92 kB / 364.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1086, allocations: 4 kB / 364.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.1089, allocations: 147.8 kB / 364.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1101, allocations: 0.7793 MB / 365.2 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.1104, allocations: 197.2 kB / 365.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.1107, allocations: 109.7 kB / 365.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.1107, allocations: 4 kB / 365.5 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1107, allocations: 38.67 kB / 365.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.1107, allocations: 0 / 365.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001486/0.1122, allocations: 0.8554 MB / 366.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.1123, allocations: 85.11 kB / 366.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1125, allocations: 183.2 kB / 366.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1125, allocations: 29.7 kB / 366.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.188e-05/0.1126, allocations: 148.3 kB / 366.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.1127, allocations: 94.64 kB / 367 MB, free: 4.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.1127, allocations: 45.7 kB / 367 MB, free: 4.914 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1129, allocations: 334.8 kB / 367.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.113, allocations: 63.91 kB / 367.4 MB, free: 4.516 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.1132, allocations: 116.2 kB / 367.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.1135, allocations: 182.9 kB / 367.7 MB, free: 4.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1135, allocations: 0 / 367.7 MB, free: 4.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004298/0.114, allocations: 257.1 kB / 367.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.114, allocations: 6.5 kB / 367.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.114, allocations: 4 kB / 367.9 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.114, allocations: 0 / 367.9 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.1143, allocations: 63.91 kB / 368 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1143, allocations: 7.984 kB / 368 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1144, allocations: 11.94 kB / 368 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1144, allocations: 8.094 kB / 368 MB, free: 3.84 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.0001205/0.1146, allocations: 149.7 kB / 368.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.1146, allocations: 19.72 kB / 368.2 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/0.1147, allocations: 29.86 kB / 368.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1147, allocations: 4 kB / 368.2 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1147, allocations: 0 / 368.2 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1147, allocations: 0 / 368.2 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007954/0.1155, allocations: 0.5975 MB / 368.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1156, allocations: 0 / 368.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.1158, allocations: 55.91 kB / 368.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1158, allocations: 4 kB / 368.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.1159, allocations: 8 kB / 368.9 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1159, allocations: 3.984 kB / 368.9 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1159, allocations: 11.94 kB / 368.9 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.1165, allocations: 494.8 kB / 369.4 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.1166, allocations: 96.83 kB / 369.5 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.1166, allocations: 12 kB / 369.5 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.1168, allocations: 12.03 kB / 369.5 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.1169, allocations: 19.92 kB / 369.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1169, allocations: 4 kB / 369.5 MB, free: 2.219 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.117, allocations: 144.2 kB / 369.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.117, allocations: 0 / 369.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000338/0.1173, allocations: 52 kB / 369.7 MB, free: 2.027 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.0001182/0.1175, allocations: 103.2 kB / 369.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003873/0.1178, allocations: 178.3 kB / 370 MB, free: 1.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1179, allocations: 0 / 370 MB, free: 1.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.118, allocations: 99.83 kB / 370.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.1185, allocations: 47.67 kB / 370.1 MB, free: 1.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1196, allocations: 0.684 MB / 370.8 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1199, allocations: 0.748 MB / 371.6 MB, free: 112 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.797e-05/0.12, allocations: 17.94 kB / 371.6 MB, free: 92 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.1201, allocations: 23.44 kB / 371.6 MB, free: 68 kB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1201, allocations: 0 / 371.6 MB, free: 68 kB / 302.1 MB Notification: Performance of Templates: time 0.1609/0.281, allocations: 2.023 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 cvode -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