Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.0009589/0.0009589, 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.001157/0.001157, allocations: 145.1 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 1.049/1.049, allocations: 173.4 MB / 201.1 MB, free: 8.996 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 268 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.433e-05/3.664e-05, allocations: 6.109 kB / 268 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002627/0.002663, allocations: 1.534 MB / 269.5 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000389/0.003052, allocations: 143.5 kB / 269.7 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.003144, allocations: 3.938 kB / 269.7 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.395e-05/0.003208, allocations: 7.922 kB / 269.7 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.003383, allocations: 0 / 269.7 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.003612, allocations: 39.78 kB / 269.7 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.003722, allocations: 31.86 kB / 269.8 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.00383, allocations: 15.97 kB / 269.8 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.775e-05/0.003878, allocations: 11.98 kB / 269.8 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.003926, allocations: 11.94 kB / 269.8 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.003951, allocations: 4 kB / 269.8 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.003961, allocations: 0 / 269.8 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.004021, allocations: 19.91 kB / 269.8 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.004047, allocations: 4 kB / 269.8 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.004158, allocations: 23.86 kB / 269.8 MB, free: 4.438 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.004161, allocations: 0 / 269.8 MB, free: 4.438 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004162, allocations: 0 / 269.8 MB, free: 4.438 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.004168, allocations: 4 kB / 269.8 MB, free: 4.434 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005884/0.004757, allocations: 392.4 kB / 270.2 MB, free: 4.012 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.004806, allocations: 8.922 kB / 270.2 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.004857, allocations: 12.89 kB / 270.3 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.005221, allocations: 136.4 kB / 270.4 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.005233, allocations: 8.375 kB / 270.4 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.005245, allocations: 384 / 270.4 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.005531, allocations: 105.6 kB / 270.5 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.00554, allocations: 4.188 kB / 270.5 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.005551, allocations: 4.375 kB / 270.5 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.005562, allocations: 384 / 270.5 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.005586, allocations: 11.92 kB / 270.5 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.005888, allocations: 255.5 kB / 270.8 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.363e-05/0.005951, allocations: 54.12 kB / 270.8 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.005978, allocations: 23.36 kB / 270.8 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.005998, allocations: 4.062 kB / 270.8 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.006024, allocations: 33.39 kB / 270.9 MB, free: 3.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.006025, allocations: 7.938 kB / 270.9 MB, free: 3.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001671/0.006192, allocations: 49.59 kB / 270.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.006255, allocations: 81.05 kB / 271 MB, free: 3.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.006363, allocations: 185.9 kB / 271.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.006374, allocations: 25.7 kB / 271.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.006439, allocations: 138.9 kB / 271.4 MB, free: 2.699 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.006451, allocations: 3.953 kB / 271.4 MB, free: 2.695 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.006481, allocations: 23.38 kB / 271.4 MB, free: 2.664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.006615, allocations: 492.1 kB / 271.9 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.006625, allocations: 256 / 271.9 MB, free: 2.172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.00663, allocations: 4 kB / 271.9 MB, free: 2.168 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.006655, allocations: 15.67 kB / 271.9 MB, free: 2.148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.006658, allocations: 0 / 271.9 MB, free: 2.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.942e-05/0.006708, allocations: 41.64 kB / 271.9 MB, free: 2.102 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.006723, allocations: 4 kB / 271.9 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.006733, allocations: 3.938 kB / 271.9 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.006749, allocations: 0 / 271.9 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.006822, allocations: 8 kB / 271.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.006829, allocations: 0 / 271.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.006842, allocations: 8.031 kB / 271.9 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.006848, allocations: 0 / 271.9 MB, free: 2.078 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: 1 (step.y) * 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 8.133e-05/0.006929, allocations: 160.6 kB / 272.1 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.006963, allocations: 33.66 kB / 272.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.006998, allocations: 15.75 kB / 272.2 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007001, allocations: 0 / 272.2 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.007005, allocations: 0 / 272.2 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.00701, allocations: 4 kB / 272.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.007117, allocations: 128.6 kB / 272.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.007118, allocations: 4.031 kB / 272.3 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.00714, allocations: 7.938 kB / 272.3 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.007142, allocations: 0 / 272.3 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.007149, allocations: 0 / 272.3 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.007152, allocations: 3.938 kB / 272.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.007156, allocations: 7.984 kB / 272.3 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.007259, allocations: 195.6 kB / 272.5 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.007287, allocations: 15.89 kB / 272.5 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.007299, allocations: 0 / 272.5 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.007328, allocations: 11.92 kB / 272.5 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.007369, allocations: 8.016 kB / 272.5 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.007372, allocations: 0 / 272.5 MB, free: 1.418 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.007429, allocations: 146.5 kB / 272.7 MB, free: 1.277 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007429, allocations: 0 / 272.7 MB, free: 1.277 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.007563, allocations: 4 kB / 272.7 MB, free: 1.273 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: 2 (step.y,sample1.y) * 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 8.794e-05/0.007651, allocations: 99.25 kB / 272.8 MB, free: 1.168 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.317e-05/0.007744, allocations: 11.69 kB / 272.8 MB, free: 1.152 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.007746, allocations: 0 / 272.8 MB, free: 1.152 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.007761, allocations: 15.73 kB / 272.8 MB, free: 1.133 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.008014, allocations: 23.41 kB / 272.8 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.008343, allocations: 145.3 kB / 273 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.597e-05/0.008389, allocations: 59.34 kB / 273 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.816e-05/0.008407, allocations: 4 kB / 273 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.008437, allocations: 8.5 kB / 273 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008437, allocations: 0 / 273 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of Templates: time 0.002467/0.0109, allocations: 0.5066 MB / 273.5 MB, free: 352 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.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.809941785875708]