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.0007998/0.0008, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008639/0.0008639, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.7 MB / 246.4 MB, free: 11.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002447/0.0002448, allocations: 8 kB / 307.1 MB, free: 1.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09576, allocations: 51.53 MB / 358.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002332/0.09813, allocations: 2.037 MB / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.099, allocations: 0.6313 MB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.0991, allocations: 7.938 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.09922, allocations: 27.78 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.09934, allocations: 59.53 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.09956, allocations: 59.88 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.0998, allocations: 242.8 kB / 361.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.09997, allocations: 73.33 kB / 361.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.1001, allocations: 91.64 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.1003, allocations: 91.55 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1003, allocations: 12 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.433e-05/0.1004, allocations: 12 kB / 362 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.1004, allocations: 35.84 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.1005, allocations: 61.64 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.1007, allocations: 191.7 kB / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1007, allocations: 4 kB / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1007, allocations: 0 / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1007, allocations: 0 / 362.2 MB, free: 10.03 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.0007215/0.1014, allocations: 0.4911 MB / 362.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1015, allocations: 8.031 kB / 362.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.1017, allocations: 43.7 kB / 362.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1019, allocations: 246.6 kB / 363 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.102, allocations: 12.44 kB / 363 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.102, allocations: 20 kB / 363.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.1024, allocations: 229.2 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1024, allocations: 0 / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.1025, allocations: 15.98 kB / 363.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1025, allocations: 4 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.1028, allocations: 148.5 kB / 363.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.104, allocations: 0.7996 MB / 364.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.1044, allocations: 205 kB / 364.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.1046, allocations: 113.6 kB / 364.6 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1046, allocations: 3.938 kB / 364.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1047, allocations: 38.56 kB / 364.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.1047, allocations: 0 / 364.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001546/0.1062, allocations: 0.8751 MB / 365.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1063, allocations: 77.11 kB / 365.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1065, allocations: 190.9 kB / 365.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1065, allocations: 25.7 kB / 365.8 MB, free: 6.176 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.1066, allocations: 156.2 kB / 365.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.1067, allocations: 90.64 kB / 366 MB, free: 5.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.1067, allocations: 8 kB / 366 MB, free: 5.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1068, allocations: 330.8 kB / 366.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.107, allocations: 63.97 kB / 366.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.1071, allocations: 116.2 kB / 366.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.1073, allocations: 79.98 kB / 366.6 MB, free: 5.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1073, allocations: 0 / 366.6 MB, free: 5.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004337/0.1078, allocations: 249.3 kB / 366.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1078, allocations: 8 kB / 366.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1078, allocations: 400 / 366.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1078, allocations: 0 / 366.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.1081, allocations: 63.91 kB / 366.9 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1081, allocations: 4.094 kB / 366.9 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1082, allocations: 23.84 kB / 366.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.1082, allocations: 12 kB / 366.9 MB, free: 4.961 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.0001293/0.1084, allocations: 142.2 kB / 367.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.1084, allocations: 19.8 kB / 367.1 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.1085, allocations: 29.86 kB / 367.1 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1085, allocations: 4 kB / 367.1 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1085, allocations: 0 / 367.1 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1085, allocations: 4 kB / 367.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.1093, allocations: 0.5965 MB / 367.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1094, allocations: 0 / 367.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.1096, allocations: 59.91 kB / 367.8 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1097, allocations: 0 / 367.8 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1097, allocations: 11.95 kB / 367.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.1097, allocations: 11.98 kB / 367.8 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1097, allocations: 0 / 367.8 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.1103, allocations: 0.4909 MB / 368.3 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.1104, allocations: 101 kB / 368.4 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.1105, allocations: 4 kB / 368.4 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1106, allocations: 15.95 kB / 368.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.1107, allocations: 15.97 kB / 368.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1107, allocations: 15.94 kB / 368.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1108, allocations: 136.4 kB / 368.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1108, allocations: 0 / 368.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.1112, allocations: 56 kB / 368.6 MB, free: 3.141 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.0001247/0.1113, allocations: 103.2 kB / 368.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.1117, allocations: 186.3 kB / 368.9 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1117, allocations: 192 / 368.9 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.1119, allocations: 99.84 kB / 369 MB, free: 2.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.1124, allocations: 39.66 kB / 369.1 MB, free: 2.719 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.1137, allocations: 0.8303 MB / 369.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.114, allocations: 0.7522 MB / 370.6 MB, free: 1.074 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.589e-05/0.1141, allocations: 21.95 kB / 370.7 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.1142, allocations: 19.44 kB / 370.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1142, allocations: 0 / 370.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of Templates: time 0.1905/0.3047, allocations: 1.801 MB / 372.5 MB, free: 18.72 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches