Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001432/0.001432, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001542/0.001542, allocations: 156.9 kB / 24.26 MB, free: 148 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.503/1.503, allocations: 177 MB / 204.5 MB, free: 5.633 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.648e-05/3.879e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.005212/0.005251, allocations: 1.454 MB / 273.7 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005605/0.005812, allocations: 99.69 kB / 273.8 MB, free: 260 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.683e-05/0.005909, allocations: 0 / 273.8 MB, free: 260 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.954e-05/0.005968, allocations: 7.922 kB / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.077e-05/0.006049, allocations: 7.875 kB / 273.8 MB, free: 244 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.006442, allocations: 23.97 kB / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.006578, allocations: 27.92 kB / 273.8 MB, free: 192 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.006713, allocations: 7.984 kB / 273.8 MB, free: 184 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.006791, allocations: 12 kB / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.006843, allocations: 11.92 kB / 273.8 MB, free: 160 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.006867, allocations: 0 / 273.8 MB, free: 160 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.006884, allocations: 4 kB / 273.9 MB, free: 156 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.006911, allocations: 7.984 kB / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.006962, allocations: 4 kB / 273.9 MB, free: 144 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.007108, allocations: 35.77 kB / 273.9 MB, free: 108 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.007117, allocations: 4 kB / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.007118, allocations: 0 / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.007124, allocations: 4 kB / 273.9 MB, free: 100 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.0006444/0.007769, allocations: 258.3 kB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.007826, allocations: 11.98 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.883e-05/0.007905, allocations: 8.938 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.008251, allocations: 117.7 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.008285, allocations: 4.375 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.008305, allocations: 4.375 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.008815, allocations: 103.9 kB / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.008826, allocations: 192 / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.008839, allocations: 384 / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.008845, allocations: 384 / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.00898, allocations: 23.86 kB / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.009199, allocations: 101.3 kB / 274.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.009462, allocations: 42.56 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.009567, allocations: 20.92 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.009598, allocations: 4 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.009652, allocations: 34.56 kB / 274.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.009654, allocations: 0 / 274.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003975/0.01005, allocations: 69.56 kB / 274.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/0.01015, allocations: 55.41 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.01032, allocations: 113.8 kB / 274.9 MB, free: 15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.01035, allocations: 29.64 kB / 274.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.096e-05/0.01044, allocations: 84.14 kB / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.01044, allocations: 0 / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.0105, allocations: 13.72 kB / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002762/0.01077, allocations: 310.8 kB / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-06/0.01078, allocations: 4 kB / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-06/0.01078, allocations: 0 / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.01085, allocations: 75.28 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.26e-05/0.01091, allocations: 75.28 kB / 275.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001175/0.01103, allocations: 41.62 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.532e-05/0.01112, allocations: 83.28 kB / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.947e-05/0.01118, allocations: 75.28 kB / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.01133, allocations: 154.5 kB / 275.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.0114, allocations: 75.28 kB / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001406/0.01154, allocations: 154.6 kB / 276 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.0117, allocations: 83.16 kB / 276.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.01176, allocations: 79.28 kB / 276.2 MB, free: 13.65 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0002092/0.01197, allocations: 193.1 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.01215, allocations: 53.62 kB / 276.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.0122, allocations: 7.922 kB / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.0122, allocations: 0 / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.01221, allocations: 0 / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.01222, allocations: 11.92 kB / 276.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.01237, allocations: 101.3 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/0.0124, allocations: 4 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.01247, allocations: 4 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.01247, allocations: 4 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01248, allocations: 0 / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01249, allocations: 0 / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.0125, allocations: 4 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.01276, allocations: 84.98 kB / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.01278, allocations: 4 kB / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.0128, allocations: 0 / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.01284, allocations: 0 / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-06/0.01284, allocations: 0 / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.01286, allocations: 4 kB / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.01296, allocations: 95.47 kB / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01296, allocations: 0 / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000403/0.01336, allocations: 0 / 276.7 MB, free: 13.02 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: 3 (step.y,assignClock1.u,assignClock1.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 0.0002089/0.01357, allocations: 103.2 kB / 276.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.01369, allocations: 12 kB / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.0137, allocations: 0 / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.0137, allocations: 0 / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.0141, allocations: 29.02 kB / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.01459, allocations: 111.5 kB / 277 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.01471, allocations: 63.34 kB / 277 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.357e-05/0.01473, allocations: 4 kB / 277 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.01478, allocations: 8.5 kB / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01478, allocations: 0 / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Templates: time 0.004253/0.01903, allocations: 306.7 kB / 277.4 MB, free: 12.35 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.243647792027332]