Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9715/0.9715, allocations: 173.4 MB / 201.2 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.063e-05, allocations: 6.25 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001923/0.001943, allocations: 1.584 MB / 269.6 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006409/0.002584, allocations: 482.5 kB / 270 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.002661, allocations: 7.938 kB / 270 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.002e-05/0.002711, allocations: 3.938 kB / 270.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.00284, allocations: 7.875 kB / 270.1 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.00306, allocations: 51.77 kB / 270.1 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.003166, allocations: 47.84 kB / 270.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.003264, allocations: 11.98 kB / 270.2 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.003353, allocations: 27.91 kB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.0034, allocations: 15.92 kB / 270.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.003424, allocations: 4 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.003436, allocations: 7.938 kB / 270.2 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.003488, allocations: 11.98 kB / 270.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.003518, allocations: 15.92 kB / 270.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.003624, allocations: 35.83 kB / 270.3 MB, free: 4.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003626, allocations: 0 / 270.3 MB, free: 4.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.003627, allocations: 4 kB / 270.3 MB, free: 4.141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003631, allocations: 0 / 270.3 MB, free: 4.141 MB / 250.7 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.000371/0.004002, allocations: 404.3 kB / 270.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.00404, allocations: 8.922 kB / 270.7 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.004078, allocations: 8.891 kB / 270.7 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.004244, allocations: 148.4 kB / 270.8 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-06/0.004251, allocations: 384 / 270.8 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.004263, allocations: 8.359 kB / 270.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.004465, allocations: 129.6 kB / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.004471, allocations: 192 / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.00448, allocations: 4.375 kB / 271 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.004488, allocations: 3.938 kB / 271 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.163e-05/0.00451, allocations: 7.984 kB / 271 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.004739, allocations: 263.5 kB / 271.3 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.004914, allocations: 58.19 kB / 271.3 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.004936, allocations: 19.38 kB / 271.3 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.00495, allocations: 0 / 271.3 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.004973, allocations: 45.33 kB / 271.4 MB, free: 2.887 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.004974, allocations: 0 / 271.4 MB, free: 2.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001307/0.005105, allocations: 53.58 kB / 271.4 MB, free: 2.828 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.005142, allocations: 77.11 kB / 271.5 MB, free: 2.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.005234, allocations: 193.9 kB / 271.7 MB, free: 2.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.005242, allocations: 25.7 kB / 271.7 MB, free: 2.496 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.005286, allocations: 134.9 kB / 271.8 MB, free: 2.359 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.005298, allocations: 4.25 kB / 271.9 MB, free: 2.355 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.005324, allocations: 27.33 kB / 271.9 MB, free: 2.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.005425, allocations: 496.1 kB / 272.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.005435, allocations: 0 / 272.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.005443, allocations: 3.984 kB / 272.4 MB, free: 1.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.292e-05/0.005466, allocations: 15.69 kB / 272.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005468, allocations: 0 / 272.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.967e-05/0.005507, allocations: 41.58 kB / 272.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.005519, allocations: 7.938 kB / 272.4 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.005523, allocations: 0 / 272.4 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.005532, allocations: 4.094 kB / 272.4 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.005591, allocations: 7.984 kB / 272.4 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.005596, allocations: 0 / 272.4 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.005609, allocations: 0 / 272.4 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.005615, allocations: 0 / 272.4 MB, free: 1.734 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.837e-05/0.005673, allocations: 156.6 kB / 272.6 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.005707, allocations: 49.53 kB / 272.6 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.005731, allocations: 11.8 kB / 272.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005733, allocations: 0 / 272.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.005737, allocations: 4 kB / 272.7 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.00574, allocations: 4.031 kB / 272.7 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.664e-05/0.005837, allocations: 124.6 kB / 272.8 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005838, allocations: 0 / 272.8 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.005858, allocations: 7.984 kB / 272.8 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.00586, allocations: 0 / 272.8 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.005867, allocations: 7.938 kB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005868, allocations: 0 / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005869, allocations: 0 / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.005977, allocations: 199.6 kB / 273 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.006005, allocations: 19.83 kB / 273 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.006016, allocations: 11.97 kB / 273 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.029e-05/0.006047, allocations: 3.984 kB / 273 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.006076, allocations: 4 kB / 273 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.006078, allocations: 0 / 273 MB, free: 1.066 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.006128, allocations: 142.3 kB / 273.2 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006128, allocations: 0 / 273.2 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.006264, allocations: 4 kB / 273.2 MB, free: 0.9258 MB / 250.7 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 6.886e-05/0.006333, allocations: 99.23 kB / 273.3 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.006414, allocations: 19.69 kB / 273.3 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006416, allocations: 0 / 273.3 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.508e-05/0.006431, allocations: 15.62 kB / 273.3 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.006667, allocations: 16.3 kB / 273.3 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.007074, allocations: 169.3 kB / 273.5 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.9e-05/0.007113, allocations: 59.34 kB / 273.5 MB, free: 496 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.888e-05/0.007132, allocations: 224 / 273.5 MB, free: 496 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.007161, allocations: 16.5 kB / 273.6 MB, free: 476 kB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.007162, allocations: 0 / 273.6 MB, free: 476 kB / 250.7 MB Notification: Performance of Templates: time 0.002281/0.009443, allocations: 0.6137 MB / 274.2 MB, free: 15.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6006268081255257]