Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 97.36 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002492/0.0002495, allocations: 11.98 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1034, allocations: 51.5 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001821/0.1053, allocations: 1.392 MB / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.1057, allocations: 167.5 kB / 359.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.134e-05/0.1058, allocations: 0 / 359.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.579e-05/0.1058, allocations: 3.938 kB / 359.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1059, allocations: 11.97 kB / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1062, allocations: 43.84 kB / 359.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.329e-05/0.1063, allocations: 31.97 kB / 359.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.1064, allocations: 23.97 kB / 359.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.1064, allocations: 15.86 kB / 359.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.1065, allocations: 19.91 kB / 359.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1065, allocations: 4 kB / 359.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.1065, allocations: 3.938 kB / 359.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.1066, allocations: 12 kB / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1066, allocations: 37.64 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.369e-05/0.1067, allocations: 43.91 kB / 359.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.1067, allocations: 0 / 359.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1067, allocations: 0 / 359.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1067, allocations: 0 / 359.9 MB, free: 12.1 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004286/0.1072, allocations: 377.8 kB / 360.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1072, allocations: 12.03 kB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.1073, allocations: 11.91 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1075, allocations: 198.7 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1075, allocations: 8 kB / 360.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1075, allocations: 7.953 kB / 360.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.1079, allocations: 164.2 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1079, allocations: 4 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1079, allocations: 4 kB / 360.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1079, allocations: 0 / 360.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.108, allocations: 35.98 kB / 360.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.1084, allocations: 377.7 kB / 361 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.1087, allocations: 111.8 kB / 361.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1087, allocations: 12.27 kB / 361.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1087, allocations: 34.5 kB / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1088, allocations: 0 / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003218/0.1091, allocations: 129.7 kB / 361.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.1092, allocations: 106.8 kB / 361.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.1093, allocations: 144.2 kB / 361.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1093, allocations: 29.7 kB / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.1094, allocations: 88.05 kB / 361.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.1094, allocations: 8 kB / 361.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.1094, allocations: 0 / 361.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1096, allocations: 326.8 kB / 362 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.1096, allocations: 23.92 kB / 362 MB, free: 9.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.219e-05/0.1097, allocations: 63.72 kB / 362.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.927e-05/0.1098, allocations: 31.94 kB / 362.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1098, allocations: 0 / 362.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.11, allocations: 121.3 kB / 362.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.11, allocations: 4 kB / 362.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1101, allocations: 4 kB / 362.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1101, allocations: 0 / 362.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.1102, allocations: 27.98 kB / 362.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1102, allocations: 320 / 362.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.1102, allocations: 16.19 kB / 362.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.1103, allocations: 4 kB / 362.3 MB, free: 9.371 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001053/0.1104, allocations: 133.7 kB / 362.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.1105, allocations: 73.59 kB / 362.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.1106, allocations: 20.88 kB / 362.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1106, allocations: 0 / 362.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.421e-05/0.1106, allocations: 7.938 kB / 362.5 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1106, allocations: 4 kB / 362.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.1109, allocations: 185.6 kB / 362.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1109, allocations: 4 kB / 362.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.111, allocations: 23.92 kB / 362.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.111, allocations: 4 kB / 362.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.111, allocations: 0 / 362.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.111, allocations: 0 / 362.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.111, allocations: 4 kB / 362.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.1114, allocations: 339.7 kB / 363.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.1115, allocations: 101 kB / 363.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.1115, allocations: 4 kB / 363.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.844e-05/0.1116, allocations: 8 kB / 363.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.1117, allocations: 3.984 kB / 363.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.1117, allocations: 4 kB / 363.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.944e-05/0.1118, allocations: 103.3 kB / 363.3 MB, free: 8.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1118, allocations: 0 / 363.3 MB, free: 8.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1121, allocations: 15.91 kB / 363.3 MB, free: 8.234 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (10): * Single equations (assignments): 10 * 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.0001227/0.1122, allocations: 103.2 kB / 363.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1124, allocations: 67.86 kB / 363.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1124, allocations: 0 / 363.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.1124, allocations: 11.98 kB / 363.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1128, allocations: 35.95 kB / 363.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.1132, allocations: 227.5 kB / 363.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1135, allocations: 0.7043 MB / 364.5 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.63e-05/0.1136, allocations: 8.672 kB / 364.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1136, allocations: 15.44 kB / 364.5 MB, free: 6.996 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1136, allocations: 0 / 364.5 MB, free: 6.996 MB / 302.1 MB Notification: Performance of Templates: time 0.002623/0.1162, allocations: 0.6033 MB / 365.1 MB, free: 6.398 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches