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.002053/0.002053, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002479/0.002479, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.637/1.637, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.483e-06/1.483e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.527e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002649/0.002674, allocations: 1.447 MB / 273.6 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001797/0.002854, allocations: 31.91 kB / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.002903, allocations: 0 / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.00293, allocations: 7.938 kB / 273.7 MB, free: 316 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.321e-05/0.002963, allocations: 3.938 kB / 273.7 MB, free: 312 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.003201, allocations: 23.91 kB / 273.7 MB, free: 288 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.646e-05/0.003287, allocations: 27.92 kB / 273.7 MB, free: 260 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.568e-05/0.003363, allocations: 7.984 kB / 273.7 MB, free: 252 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.003419, allocations: 19.91 kB / 273.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.278e-05/0.003451, allocations: 8 kB / 273.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.00347, allocations: 4 kB / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.00348, allocations: 4 kB / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.003495, allocations: 8 kB / 273.8 MB, free: 208 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.003523, allocations: 11.92 kB / 273.8 MB, free: 196 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.645e-05/0.003609, allocations: 23.95 kB / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003611, allocations: 0 / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003612, allocations: 4 kB / 273.8 MB, free: 168 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.003616, allocations: 0 / 273.8 MB, free: 168 kB / 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.0004498/0.004065, allocations: 270.3 kB / 274.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.004101, allocations: 15.92 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.004139, allocations: 4.938 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.00435, allocations: 125.7 kB / 274.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.004371, allocations: 8.375 kB / 274.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.004379, allocations: 384 / 274.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.004727, allocations: 115.8 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004733, allocations: 192 / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.004741, allocations: 384 / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.004745, allocations: 384 / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.004861, allocations: 27.91 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.004998, allocations: 101.3 kB / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.005154, allocations: 50.48 kB / 274.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.005235, allocations: 28.92 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.005245, allocations: 0 / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.005282, allocations: 38.56 kB / 274.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.005283, allocations: 0 / 274.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002773/0.00556, allocations: 77.75 kB / 274.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.00562, allocations: 51.41 kB / 274.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.005724, allocations: 113.8 kB / 274.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.005744, allocations: 25.7 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.005798, allocations: 84.14 kB / 274.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.005814, allocations: 4 kB / 274.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.005844, allocations: 17.7 kB / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.006033, allocations: 318.8 kB / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.006044, allocations: 0 / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.006053, allocations: 4 kB / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.006079, allocations: 8.859 kB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.00608, allocations: 0 / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.838e-05/0.006148, allocations: 49.61 kB / 275.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.006163, allocations: 4 kB / 275.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.006167, allocations: 3.938 kB / 275.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.006177, allocations: 4.094 kB / 275.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.216e-05/0.006219, allocations: 4 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.006223, allocations: 0 / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.006236, allocations: 3.938 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.006241, allocations: 4 kB / 275.4 MB, free: 14.45 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: 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 8.588e-05/0.006327, allocations: 109.8 kB / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.00648, allocations: 61.62 kB / 275.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.006506, allocations: 11.69 kB / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.006507, allocations: 0 / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.00651, allocations: 0 / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.006514, allocations: 7.938 kB / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.449e-05/0.006608, allocations: 113.2 kB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006609, allocations: 0 / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.006641, allocations: 4 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.006648, allocations: 3.984 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.006655, allocations: 0 / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006656, allocations: 0 / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006656, allocations: 0 / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.006853, allocations: 89.05 kB / 275.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.006868, allocations: 7.953 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.006881, allocations: 0 / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.067e-05/0.006912, allocations: 8 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-06/0.006914, allocations: 0 / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.006922, allocations: 4.234 kB / 275.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.02e-05/0.006983, allocations: 87.28 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006983, allocations: 0 / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.007175, allocations: 4 kB / 275.9 MB, free: 13.88 MB / 266.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 0.0001087/0.007284, allocations: 103.1 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.007397, allocations: 19.98 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007399, allocations: 0 / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.007399, allocations: 4.062 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.007632, allocations: 25.33 kB / 276 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.007945, allocations: 123.1 kB / 276.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.31e-05/0.008009, allocations: 63.34 kB / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.839e-05/0.008027, allocations: 7.984 kB / 276.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.00806, allocations: 8.5 kB / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.00806, allocations: 0 / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of Templates: time 0.002559/0.01062, allocations: 380.4 kB / 276.6 MB, free: 13.11 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.465803247992881]