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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.000948/0.000948, allocations: 145.8 kB / 24.98 MB, free: 8.816 MB / 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.9556/0.9556, allocations: 173.4 MB / 201.5 MB, free: 9.324 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,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=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.31e-05, allocations: 6.25 kB / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001924/0.001947, allocations: 1.584 MB / 269.6 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006583/0.002606, allocations: 494.5 kB / 270.1 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.776e-05/0.002683, allocations: 7.938 kB / 270.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.541e-05/0.002729, allocations: 7.938 kB / 270.1 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.002853, allocations: 11.86 kB / 270.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.003066, allocations: 55.75 kB / 270.2 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.003164, allocations: 47.78 kB / 270.3 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.003259, allocations: 11.98 kB / 270.3 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.943e-05/0.003328, allocations: 27.92 kB / 270.3 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.003371, allocations: 11.97 kB / 270.3 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.003389, allocations: 4 kB / 270.3 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-06/0.003398, allocations: 4 kB / 270.3 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.003442, allocations: 15.92 kB / 270.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.003467, allocations: 15.94 kB / 270.3 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.756e-05/0.003565, allocations: 39.83 kB / 270.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003567, allocations: 4 kB / 270.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003568, allocations: 0 / 270.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.003573, allocations: 0 / 270.4 MB, free: 4.383 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.0003556/0.003928, allocations: 400.2 kB / 270.8 MB, free: 3.957 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.003961, allocations: 8.922 kB / 270.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.004, allocations: 16.89 kB / 270.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.004151, allocations: 144.4 kB / 270.9 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.004164, allocations: 12.38 kB / 271 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.004173, allocations: 384 / 271 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.004403, allocations: 125.6 kB / 271.1 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-06/0.004408, allocations: 192 / 271.1 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004417, allocations: 384 / 271.1 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.004424, allocations: 3.938 kB / 271.1 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.004444, allocations: 7.938 kB / 271.1 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.004674, allocations: 267.5 kB / 271.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.596e-05/0.00472, allocations: 58.06 kB / 271.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.004744, allocations: 23.5 kB / 271.4 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.004759, allocations: 4 kB / 271.4 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.004779, allocations: 41.31 kB / 271.5 MB, free: 3.125 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.00478, allocations: 0 / 271.5 MB, free: 3.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001291/0.00491, allocations: 45.59 kB / 271.5 MB, free: 3.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.004949, allocations: 85.11 kB / 271.6 MB, free: 2.973 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.00504, allocations: 189.9 kB / 271.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.005049, allocations: 33.95 kB / 271.8 MB, free: 2.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.005095, allocations: 134.9 kB / 272 MB, free: 2.594 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.005108, allocations: 0 / 272 MB, free: 2.594 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.005134, allocations: 27.27 kB / 272 MB, free: 2.559 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.005245, allocations: 0.4884 MB / 272.5 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.005257, allocations: 0 / 272.5 MB, free: 2.059 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-06/0.005265, allocations: 4 kB / 272.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.253e-05/0.005287, allocations: 7.688 kB / 272.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005289, allocations: 0 / 272.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.675e-05/0.005336, allocations: 37.78 kB / 272.5 MB, free: 2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.005349, allocations: 11.94 kB / 272.5 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005353, allocations: 0 / 272.5 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.005364, allocations: 0 / 272.5 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.005428, allocations: 4 kB / 272.5 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.005433, allocations: 3.938 kB / 272.5 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.00545, allocations: 4 kB / 272.5 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.005456, allocations: 0 / 272.5 MB, free: 1.977 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 6.058e-05/0.005516, allocations: 160.6 kB / 272.7 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.005554, allocations: 45.59 kB / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.00558, allocations: 19.78 kB / 272.8 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005582, allocations: 0 / 272.8 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005585, allocations: 0 / 272.8 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005588, allocations: 0 / 272.8 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.448e-05/0.005682, allocations: 124.6 kB / 272.9 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005683, allocations: 4 kB / 272.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.005707, allocations: 4 kB / 272.9 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.005709, allocations: 0 / 272.9 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.005716, allocations: 3.938 kB / 272.9 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005717, allocations: 0 / 272.9 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.00572, allocations: 3.938 kB / 272.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.075e-05/0.005811, allocations: 207.6 kB / 273.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.005835, allocations: 15.94 kB / 273.1 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.005847, allocations: 3.938 kB / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.269e-05/0.005879, allocations: 4 kB / 273.1 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.005906, allocations: 0 / 273.1 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.005909, allocations: 0 / 273.1 MB, free: 1.316 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.005958, allocations: 150.2 kB / 273.3 MB, free: 1.172 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005958, allocations: 0 / 273.3 MB, free: 1.172 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.006102, allocations: 8 kB / 273.3 MB, free: 1.164 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 7.013e-05/0.006172, allocations: 99.28 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.93e-05/0.006242, allocations: 15.62 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006243, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.006257, allocations: 11.67 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.006504, allocations: 23.22 kB / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.006925, allocations: 169.4 kB / 273.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.006962, allocations: 63.34 kB / 273.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.751e-05/0.00699, allocations: 7.984 kB / 273.7 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.007014, allocations: 8.5 kB / 273.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of SimCode: time 8.31e-07/0.007015, allocations: 0 / 273.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of Templates: time 0.00241/0.009425, allocations: 0.5794 MB / 274.3 MB, free: 140 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.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.5239545011427253]