Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001172/0.001172, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002028/0.0032, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001415/0.001415, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001792/0.003207, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.97/0.97, allocations: 177.4 MB / 189.9 MB, free: 4.855 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08338/1.053, allocations: 53.87 MB / 243.7 MB, free: 14.93 MB / 250.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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.648e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002947/0.002973, allocations: 1.521 MB / 246.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001334/0.003107, allocations: 35.84 kB / 246.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.003161, allocations: 4 kB / 246.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.003186, allocations: 3.938 kB / 246.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.556e-05/0.003212, allocations: 3.938 kB / 246.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.003374, allocations: 23.91 kB / 246.6 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.003472, allocations: 31.92 kB / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.003563, allocations: 3.938 kB / 246.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.14e-05/0.003644, allocations: 15.98 kB / 246.7 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.003698, allocations: 19.91 kB / 246.7 MB, free: 12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.003727, allocations: 4 kB / 246.7 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.003737, allocations: 4 kB / 246.7 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.003756, allocations: 4 kB / 246.7 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.003785, allocations: 8 kB / 246.7 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.003893, allocations: 19.92 kB / 246.7 MB, free: 11.96 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.905e-05/0.003912, allocations: 0 / 246.7 MB, free: 11.96 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.003914, allocations: 0 / 246.7 MB, free: 11.96 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.003934, allocations: 0 / 246.7 MB, free: 11.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004342/0.004368, allocations: 240.6 kB / 246.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.004405, allocations: 8.031 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.004443, allocations: 12.92 kB / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.004617, allocations: 117.7 kB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.004644, allocations: 384 / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.004654, allocations: 4.375 kB / 247.1 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.004885, allocations: 112.5 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.004894, allocations: 192 / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.004902, allocations: 4.312 kB / 247.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.00493, allocations: 4.375 kB / 247.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.093e-05/0.004971, allocations: 11.92 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.12e-05/0.005042, allocations: 57.03 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.005104, allocations: 34.52 kB / 247.3 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.005124, allocations: 12.84 kB / 247.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.005132, allocations: 4 kB / 247.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.005153, allocations: 34.56 kB / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.005155, allocations: 0 / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001004/0.005255, allocations: 41.69 kB / 247.4 MB, free: 11.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.0053, allocations: 59.34 kB / 247.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.308e-05/0.005354, allocations: 106.7 kB / 247.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.005363, allocations: 29.7 kB / 247.6 MB, free: 10.94 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.005385, allocations: 84.14 kB / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/0.005394, allocations: 4 kB / 247.7 MB, free: 10.85 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.00542, allocations: 17.7 kB / 247.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.00549, allocations: 318.8 kB / 248 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-06/0.005495, allocations: 0 / 248 MB, free: 10.51 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-06/0.005503, allocations: 8.234 kB / 248 MB, free: 10.5 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.803e-05/0.005521, allocations: 8.859 kB / 248 MB, free: 10.49 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.005524, allocations: 4 kB / 248 MB, free: 10.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.528e-05/0.005559, allocations: 33.64 kB / 248.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.005572, allocations: 8 kB / 248.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005577, allocations: 4.094 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.005585, allocations: 0 / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.451e-05/0.005629, allocations: 7.984 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.005632, allocations: 0 / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-06/0.005639, allocations: 0 / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-06/0.005641, allocations: 0 / 248.1 MB, free: 10.43 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 5.329e-05/0.005695, allocations: 117.8 kB / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.005722, allocations: 41.62 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.00574, allocations: 3.688 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.005743, allocations: 4 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.005744, allocations: 4 kB / 248.2 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005747, allocations: 0 / 248.2 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.261e-05/0.005789, allocations: 73.81 kB / 248.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.00579, allocations: 0 / 248.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.005824, allocations: 7.938 kB / 248.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-06/0.005831, allocations: 7.953 kB / 248.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.005832, allocations: 0 / 248.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.005835, allocations: 0 / 248.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.005836, allocations: 0 / 248.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.005837, allocations: 0 / 248.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.855e-05/0.005875, allocations: 62.08 kB / 248.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.005886, allocations: 4 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.178e-05/0.005897, allocations: 0 / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-06/0.005901, allocations: 3.984 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.005903, allocations: 4 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.336e-05/0.005917, allocations: 20.84 kB / 248.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005917, allocations: 0 / 248.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.44e-05/0.006001, allocations: 0 / 248.4 MB, free: 10.02 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 8.22e-05/0.006083, allocations: 76.42 kB / 248.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.255e-05/0.006146, allocations: 16.8 kB / 248.5 MB, free: 9.922 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.006149, allocations: 4.062 kB / 248.5 MB, free: 9.918 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.006151, allocations: 4 kB / 248.5 MB, free: 9.914 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.006258, allocations: 24.62 kB / 248.5 MB, free: 9.891 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.006566, allocations: 123 kB / 248.7 MB, free: 9.746 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.006598, allocations: 59.34 kB / 248.7 MB, free: 9.668 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.467e-05/0.006613, allocations: 0 / 248.7 MB, free: 9.668 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.006648, allocations: 51.38 kB / 248.8 MB, free: 9.617 MB / 250.7 MB Notification: Performance of SimCode: time 8.12e-07/0.006649, allocations: 0 / 248.8 MB, free: 9.617 MB / 250.7 MB Notification: Performance of Templates: time 0.001821/0.00847, allocations: 406 kB / 249.2 MB, free: 9.223 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.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.4760633148252964]