Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 116.5 kB / 17.7 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009916/0.0009916, allocations: 190.9 kB / 18.63 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 55.69 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1113, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002816/0.1142, allocations: 1.535 MB / 353 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000819/0.115, allocations: 0.4947 MB / 353.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.1151, allocations: 4 kB / 353.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.1152, allocations: 3.938 kB / 353.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.1153, allocations: 11.88 kB / 353.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1156, allocations: 55.81 kB / 353.6 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1157, allocations: 47.78 kB / 353.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1158, allocations: 15.98 kB / 353.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.1159, allocations: 19.94 kB / 353.7 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.116, allocations: 19.86 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.116, allocations: 4 kB / 353.7 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.116, allocations: 8 kB / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.1161, allocations: 15.97 kB / 353.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.1161, allocations: 23.81 kB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1162, allocations: 59.67 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1162, allocations: 0 / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1162, allocations: 0 / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1162, allocations: 0 / 353.8 MB, free: 1.352 MB / 286.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.0005076/0.1168, allocations: 375.1 kB / 354.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1168, allocations: 11.97 kB / 354.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.1168, allocations: 12.84 kB / 354.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1171, allocations: 196.2 kB / 354.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1171, allocations: 4.375 kB / 354.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1172, allocations: 8.359 kB / 354.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.1174, allocations: 113.4 kB / 354.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1175, allocations: 0 / 354.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1175, allocations: 0 / 354.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1175, allocations: 0 / 354.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.1176, allocations: 19.92 kB / 354.5 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.1179, allocations: 261.7 kB / 354.8 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.43e-05/0.118, allocations: 53.14 kB / 354.9 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.118, allocations: 25.77 kB / 354.9 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.118, allocations: 0 / 354.9 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1181, allocations: 34.55 kB / 354.9 MB, free: 72 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1181, allocations: 0 / 354.9 MB, free: 72 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002282/0.1183, allocations: 65.62 kB / 355 MB, free: 0 / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.1184, allocations: 77.11 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1185, allocations: 142.1 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1185, allocations: 25.7 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.1186, allocations: 96.03 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.1186, allocations: 7.938 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.1186, allocations: 21.95 kB / 355.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1188, allocations: 318.8 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.1188, allocations: 11.98 kB / 355.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.1189, allocations: 17.72 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.53e-05/0.1189, allocations: 33.7 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.119, allocations: 4 kB / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001073/0.1191, allocations: 57.53 kB / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1191, allocations: 10.8 kB / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1191, allocations: 4 kB / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1191, allocations: 0 / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.1192, allocations: 4 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1192, allocations: 0 / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.1192, allocations: 7.938 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1193, allocations: 4.062 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.887e-05/0.1193, allocations: 117.8 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.1194, allocations: 45.55 kB / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.1194, allocations: 11.86 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1195, allocations: 0 / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1195, allocations: 0 / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1195, allocations: 0 / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.1196, allocations: 173.5 kB / 356.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1196, allocations: 4 kB / 356.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.1197, allocations: 8.031 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.1197, allocations: 0 / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1197, allocations: 0 / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1197, allocations: 4 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1197, allocations: 4 kB / 356.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1199, allocations: 164.2 kB / 356.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.12, allocations: 97.03 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.12, allocations: 4 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.47e-05/0.1201, allocations: 0 / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1201, allocations: 3.984 kB / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1201, allocations: 4 kB / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.303e-05/0.1202, allocations: 106 kB / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1202, allocations: 0 / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1204, allocations: 4 kB / 356.5 MB, free: 14.26 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001007/0.1205, allocations: 107.7 kB / 356.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.1207, allocations: 23.92 kB / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1207, allocations: 4 kB / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.1207, allocations: 4 kB / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1211, allocations: 23.94 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.1214, allocations: 163.7 kB / 356.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.1217, allocations: 0.6885 MB / 357.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.778e-05/0.1217, allocations: 4 kB / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.1217, allocations: 11.44 kB / 357.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1217, allocations: 0 / 357.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of Templates: time 0.002687/0.1244, allocations: 0.5203 MB / 358.1 MB, free: 12.66 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches