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.0009302/0.0009302, allocations: 82.59 kB / 21.43 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.00101/0.00101, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.03/1.03, allocations: 177 MB / 205.1 MB, free: 5.48 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.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 1.352e-06/1.352e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.601e-05, allocations: 2.312 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001798/0.001814, allocations: 1.486 MB / 274.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000213/0.002027, allocations: 99.61 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.002083, allocations: 11.94 kB / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.002104, allocations: 0 / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.247e-05/0.002136, allocations: 3.938 kB / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.002313, allocations: 19.97 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.002378, allocations: 27.86 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.337e-05/0.002451, allocations: 11.98 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.002492, allocations: 8 kB / 275 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.313e-05/0.002515, allocations: 11.97 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.002531, allocations: 4 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.002537, allocations: 0 / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.002554, allocations: 11.94 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.352e-05/0.002568, allocations: 7.938 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.587e-05/0.002633, allocations: 23.86 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002635, allocations: 0 / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002636, allocations: 0 / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.002639, allocations: 0 / 275 MB, free: 15.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002621/0.002901, allocations: 368.6 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.002934, allocations: 11.98 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.002955, allocations: 8.891 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.003061, allocations: 124.6 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.003073, allocations: 384 / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.003081, allocations: 12.38 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.003229, allocations: 98.23 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.003235, allocations: 192 / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.003241, allocations: 384 / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.003245, allocations: 384 / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.82e-05/0.003263, allocations: 15.86 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.333e-05/0.003336, allocations: 93.27 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.803e-05/0.003394, allocations: 47.06 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.003414, allocations: 15.69 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.003428, allocations: 0 / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.003448, allocations: 41.39 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.003449, allocations: 0 / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001074/0.003556, allocations: 53.62 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.003588, allocations: 59.58 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.003653, allocations: 157.9 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.003661, allocations: 25.7 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.003696, allocations: 130.9 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.003697, allocations: 0 / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.003716, allocations: 27.36 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.003828, allocations: 496.1 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-06/0.00383, allocations: 4 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-06/0.003833, allocations: 0 / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.003861, allocations: 119.2 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.441e-05/0.003885, allocations: 119.2 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.961e-05/0.003915, allocations: 33.64 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.003947, allocations: 123.2 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.003975, allocations: 123.2 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.9e-05/0.004034, allocations: 254.2 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.529e-05/0.004059, allocations: 127.2 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.525e-05/0.004114, allocations: 242.3 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.004163, allocations: 123.2 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.004189, allocations: 123.1 kB / 278.2 MB, free: 12.18 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 8.263e-05/0.004272, allocations: 275.8 kB / 278.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.004309, allocations: 45.62 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.004331, allocations: 7.688 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.004332, allocations: 0 / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.004334, allocations: 4 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.004337, allocations: 0 / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.168e-05/0.004388, allocations: 105.1 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.004392, allocations: 4 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.004419, allocations: 256 / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.004421, allocations: 0 / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.004425, allocations: 4 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.004427, allocations: 0 / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.004428, allocations: 4 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.567e-05/0.004473, allocations: 72.31 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-06/0.004482, allocations: 7.938 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.004489, allocations: 0 / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.004504, allocations: 4 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-06/0.004506, allocations: 4 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.004509, allocations: 0 / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.004544, allocations: 123.2 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004544, allocations: 0 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001292/0.004674, allocations: 0 / 278.8 MB, free: 11.46 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 6.273e-05/0.004736, allocations: 99.23 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.433e-05/0.004771, allocations: 4 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.004773, allocations: 4 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.004773, allocations: 0 / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.004912, allocations: 27.84 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000173/0.005085, allocations: 121.1 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.897e-05/0.005114, allocations: 55.36 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.21e-06/0.005119, allocations: 0 / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.005151, allocations: 70.14 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.005151, allocations: 0 / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of Templates: time 0.001402/0.006553, allocations: 323.6 kB / 279.5 MB, free: 10.72 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",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.7720837048254907]