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.0008154/0.0008153, allocations: 97.12 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008763/0.0008764, allocations: 204.5 kB / 18.93 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.7 MB / 247.5 MB, free: 9.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002453/0.0002453, allocations: 4 kB / 308.4 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 51.53 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002085/0.1058, allocations: 1.309 MB / 361.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1071, allocations: 0.5416 MB / 361.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1072, allocations: 4 kB / 361.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.1073, allocations: 3.938 kB / 361.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.1074, allocations: 15.86 kB / 361.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.1078, allocations: 59.88 kB / 361.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.1079, allocations: 39.86 kB / 361.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1081, allocations: 16.17 kB / 361.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1082, allocations: 31.84 kB / 361.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.1083, allocations: 19.86 kB / 362 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1083, allocations: 4 kB / 362 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.856e-05/0.1084, allocations: 4 kB / 362 MB, free: 11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.1085, allocations: 19.92 kB / 362 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.1085, allocations: 49.5 kB / 362 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.1086, allocations: 39.88 kB / 362.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1086, allocations: 0 / 362.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1087, allocations: 0 / 362.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1087, allocations: 0 / 362.1 MB, free: 10.89 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.0005186/0.1092, allocations: 371.5 kB / 362.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1092, allocations: 8.031 kB / 362.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.1094, allocations: 24.83 kB / 362.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1096, allocations: 193.7 kB / 362.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1097, allocations: 8.375 kB / 362.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1097, allocations: 3.938 kB / 362.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.11, allocations: 117.9 kB / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.11, allocations: 3.938 kB / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.11, allocations: 4 kB / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.11, allocations: 0 / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.309e-05/0.1101, allocations: 23.98 kB / 362.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.1105, allocations: 290.4 kB / 363.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1106, allocations: 71.72 kB / 363.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.356e-05/0.1107, allocations: 34.64 kB / 363.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1107, allocations: 0 / 363.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1108, allocations: 46.55 kB / 363.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1108, allocations: 0 / 363.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002972/0.1111, allocations: 93.64 kB / 363.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.1112, allocations: 106.8 kB / 363.4 MB, free: 9.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1113, allocations: 155.8 kB / 363.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1113, allocations: 25.7 kB / 363.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.1114, allocations: 88.14 kB / 363.7 MB, free: 9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.1114, allocations: 8.172 kB / 363.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.1115, allocations: 17.72 kB / 363.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1116, allocations: 314.8 kB / 364 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.1116, allocations: 12 kB / 364.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/0.1117, allocations: 35.42 kB / 364.1 MB, free: 8.594 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.912e-05/0.1118, allocations: 55.36 kB / 364.1 MB, free: 8.527 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1118, allocations: 0 / 364.1 MB, free: 8.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001655/0.112, allocations: 81.45 kB / 364.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.112, allocations: 4 kB / 364.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.112, allocations: 0 / 364.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1121, allocations: 4 kB / 364.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.1121, allocations: 12.08 kB / 364.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1122, allocations: 0 / 364.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.1122, allocations: 11.94 kB / 364.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.1122, allocations: 3.984 kB / 364.3 MB, free: 8.406 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.794e-05/0.1123, allocations: 125.9 kB / 364.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.1124, allocations: 53.53 kB / 364.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.1125, allocations: 11.88 kB / 364.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1125, allocations: 3.984 kB / 364.4 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.1125, allocations: 4 kB / 364.4 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1125, allocations: 3.938 kB / 364.5 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.1127, allocations: 169.7 kB / 364.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1127, allocations: 0 / 364.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/0.1128, allocations: 16.05 kB / 364.6 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1128, allocations: 0 / 364.6 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1128, allocations: 4 kB / 364.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1128, allocations: 3.938 kB / 364.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1128, allocations: 3.938 kB / 364.6 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.113, allocations: 185.1 kB / 364.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.1131, allocations: 93 kB / 364.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1131, allocations: 0 / 364.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1132, allocations: 4 kB / 364.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.1132, allocations: 11.92 kB / 364.9 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1132, allocations: 4 kB / 364.9 MB, free: 7.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.1133, allocations: 106.3 kB / 365 MB, free: 7.512 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1133, allocations: 0 / 365 MB, free: 7.512 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1135, allocations: 12 kB / 365.1 MB, free: 7.5 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 0.0001204/0.1137, allocations: 99.23 kB / 365.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1139, allocations: 39.86 kB / 365.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1139, allocations: 0 / 365.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.042e-05/0.1139, allocations: 20.17 kB / 365.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1143, allocations: 20.03 kB / 365.2 MB, free: 7.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.1147, allocations: 236.3 kB / 365.5 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1151, allocations: 0.6965 MB / 366.2 MB, free: 6.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.1151, allocations: 11.44 kB / 366.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1151, allocations: 0 / 366.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of Templates: time 0.002587/0.1177, allocations: 0.8295 MB / 367 MB, free: 5.488 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