Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 108.5 kB / 17.85 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 213.7 kB / 18.79 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 58.22 kB / 306.9 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1036, allocations: 50.53 MB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003144/0.1068, allocations: 1.652 MB / 359.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1079, allocations: 0.561 MB / 359.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.108, allocations: 4 kB / 359.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.28e-05/0.108, allocations: 3.938 kB / 359.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.1082, allocations: 19.91 kB / 359.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.1085, allocations: 51.89 kB / 359.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.1086, allocations: 47.8 kB / 359.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1087, allocations: 20.14 kB / 359.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1088, allocations: 27.88 kB / 359.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.1089, allocations: 23.86 kB / 359.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1089, allocations: 0 / 359.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.554e-05/0.109, allocations: 8 kB / 359.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.109, allocations: 19.91 kB / 359.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.1091, allocations: 23.81 kB / 359.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.1092, allocations: 43.92 kB / 359.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1092, allocations: 0 / 359.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1092, allocations: 0 / 359.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1092, allocations: 0 / 359.9 MB, free: 11.78 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004874/0.1097, allocations: 379.4 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1098, allocations: 12.02 kB / 360.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.1099, allocations: 20.84 kB / 360.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.1101, allocations: 204.2 kB / 360.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1101, allocations: 384 / 360.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1102, allocations: 11.94 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.1104, allocations: 105.9 kB / 360.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.1105, allocations: 8 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1105, allocations: 4 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.1105, allocations: 3.984 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/0.1106, allocations: 23.92 kB / 360.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.1109, allocations: 282.5 kB / 361 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1111, allocations: 71.72 kB / 361 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/0.1111, allocations: 30.64 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1112, allocations: 3.984 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1112, allocations: 38.5 kB / 361.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1112, allocations: 4 kB / 361.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000273/0.1115, allocations: 81.52 kB / 361.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.1116, allocations: 107.2 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1117, allocations: 157.7 kB / 361.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1117, allocations: 25.7 kB / 361.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.1118, allocations: 88.05 kB / 361.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.1118, allocations: 4 kB / 361.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.1118, allocations: 21.7 kB / 361.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.112, allocations: 314.8 kB / 361.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.112, allocations: 11.98 kB / 361.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.112e-05/0.1121, allocations: 43.36 kB / 361.9 MB, free: 9.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.134e-05/0.1122, allocations: 43.36 kB / 362 MB, free: 9.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1122, allocations: 0 / 362 MB, free: 9.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000139/0.1123, allocations: 73.53 kB / 362.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1123, allocations: 4 kB / 362.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1124, allocations: 4 kB / 362.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1124, allocations: 0 / 362.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.1124, allocations: 11.98 kB / 362.1 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1125, allocations: 0 / 362.1 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.1125, allocations: 11.88 kB / 362.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1125, allocations: 0 / 362.1 MB, free: 9.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.346e-05/0.1126, allocations: 133.8 kB / 362.2 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-05/0.1127, allocations: 45.61 kB / 362.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.1128, allocations: 15.86 kB / 362.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1128, allocations: 0 / 362.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1128, allocations: 4 kB / 362.3 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1128, allocations: 3.938 kB / 362.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1129, allocations: 169.7 kB / 362.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.113, allocations: 0 / 362.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.113, allocations: 15.98 kB / 362.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.113, allocations: 4 kB / 362.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1131, allocations: 96 / 362.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1131, allocations: 4 kB / 362.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1131, allocations: 0 / 362.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.1132, allocations: 181.1 kB / 362.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.1133, allocations: 93 kB / 362.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.1133, allocations: 8 kB / 362.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.1134, allocations: 7.984 kB / 362.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1135, allocations: 15.81 kB / 362.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1135, allocations: 0 / 362.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.607e-05/0.1136, allocations: 114.6 kB / 362.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1136, allocations: 0 / 362.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1138, allocations: 4 kB / 362.9 MB, free: 8.41 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 (4): * Single equations (assignments): 4 * 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 9.639e-05/0.1139, allocations: 106.9 kB / 363 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.114, allocations: 31.92 kB / 363 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.114, allocations: 0 / 363 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.1141, allocations: 7.984 kB / 363 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.1145, allocations: 24.02 kB / 363.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.1149, allocations: 240.1 kB / 363.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1151, allocations: 0.6887 MB / 364 MB, free: 7.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.1152, allocations: 19.42 kB / 364 MB, free: 7.23 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1152, allocations: 4 kB / 364 MB, free: 7.227 MB / 302.1 MB Notification: Performance of Templates: time 0.002317/0.1175, allocations: 0.8264 MB / 364.8 MB, free: 6.406 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches