Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 85.89 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 160.8 kB / 24.82 MB, free: 8.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.085/1.085, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.74e-05, allocations: 5.125 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002438/0.002465, allocations: 1.576 MB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003515/0.002816, allocations: 147.4 kB / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.002899, allocations: 4 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.561e-05/0.002945, allocations: 7.922 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.003089, allocations: 7.938 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.00328, allocations: 35.84 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.003369, allocations: 35.84 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.003454, allocations: 8 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.003508, allocations: 23.91 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.091e-05/0.003549, allocations: 11.98 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.003569, allocations: 4 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-06/0.003578, allocations: 0 / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.589e-05/0.003624, allocations: 11.94 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.003645, allocations: 11.92 kB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.589e-05/0.003741, allocations: 35.84 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003743, allocations: 4 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003744, allocations: 0 / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.003747, allocations: 0 / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003536/0.004101, allocations: 396.3 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.004142, allocations: 11.98 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.004176, allocations: 16.89 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.004318, allocations: 136.5 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.00433, allocations: 4.375 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.004341, allocations: 4.375 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.00453, allocations: 133.5 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.004539, allocations: 192 / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.004545, allocations: 384 / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.00455, allocations: 384 / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.004567, allocations: 11.94 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.005006, allocations: 244.1 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.005117, allocations: 66.11 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.005139, allocations: 27.42 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.005157, allocations: 7.984 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.005178, allocations: 41.33 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.005179, allocations: 0 / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001201/0.005299, allocations: 61.52 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.005339, allocations: 81.11 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.005424, allocations: 189.1 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.005434, allocations: 25.7 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.005483, allocations: 138.8 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.754e-06/0.005491, allocations: 8.078 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.005518, allocations: 23.36 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.005638, allocations: 496.1 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-06/0.005644, allocations: 0 / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.005649, allocations: 4 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.847e-05/0.005668, allocations: 11.67 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005669, allocations: 0 / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.942e-05/0.005709, allocations: 41.62 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.005723, allocations: 6.812 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.005727, allocations: 4.094 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.005738, allocations: 3.938 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.128e-05/0.005769, allocations: 4 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005772, allocations: 0 / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.137e-05/0.005783, allocations: 0 / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.005787, allocations: 0 / 277.4 MB, free: 12.91 MB / 266.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 6.374e-05/0.00585, allocations: 156.6 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.005886, allocations: 45.64 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.005915, allocations: 12.34 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.005918, allocations: 3.938 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.00592, allocations: 4 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.005924, allocations: 7.938 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.728e-05/0.006012, allocations: 97.25 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.006014, allocations: 8 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.006037, allocations: 7.984 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006039, allocations: 4 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.006043, allocations: 0 / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006044, allocations: 0 / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006044, allocations: 0 / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.799e-05/0.006122, allocations: 203.5 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.006144, allocations: 15.97 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-06/0.006151, allocations: 0 / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.802e-05/0.006179, allocations: 4 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.006199, allocations: 3.938 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.006204, allocations: 3.938 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.006247, allocations: 147.1 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006247, allocations: 0 / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001368/0.006384, allocations: 4 kB / 278.1 MB, free: 12.13 MB / 266.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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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 6.974e-05/0.006453, allocations: 91.25 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.019e-05/0.006504, allocations: 19.69 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006505, allocations: 0 / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.006515, allocations: 11.69 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.006716, allocations: 20.8 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.006935, allocations: 164.8 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.006971, allocations: 67.28 kB / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.14e-05/0.006983, allocations: 0 / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.007029, allocations: 74.2 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.00703, allocations: 128 / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of Templates: time 0.002138/0.009168, allocations: 0.5689 MB / 279.1 MB, free: 11.06 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.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.8185509056784213]