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.001018/0.001018, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001109/0.001109, allocations: 160.5 kB / 24.55 MB, free: 16 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.001/1.001, allocations: 177 MB / 204.8 MB, free: 5.605 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.714e-06/1.714e-06, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.003e-05, allocations: 5.266 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00215/0.00218, allocations: 1.49 MB / 274.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002628/0.002443, allocations: 95.62 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.002507, allocations: 0 / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.002548, allocations: 3.938 kB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.465e-05/0.002602, allocations: 7.938 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.002891, allocations: 23.91 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.003003, allocations: 23.92 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.003139, allocations: 11.98 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.202e-05/0.003201, allocations: 11.98 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.003242, allocations: 15.92 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.003275, allocations: 0 / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.003286, allocations: 4 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.003309, allocations: 4 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.003349, allocations: 4 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.003477, allocations: 27.84 kB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.003482, allocations: 4 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.003483, allocations: 3.938 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.003491, allocations: 0 / 274.6 MB, free: 15.73 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.0004517/0.003943, allocations: 364.6 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/0.004011, allocations: 15.98 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.004062, allocations: 8.891 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.004225, allocations: 120.6 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.004246, allocations: 384 / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.004258, allocations: 4.375 kB / 275.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.004484, allocations: 102.2 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.004492, allocations: 192 / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.004506, allocations: 4.375 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.004515, allocations: 384 / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.79e-05/0.004543, allocations: 19.86 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.932e-05/0.004642, allocations: 108.6 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/0.004728, allocations: 43.05 kB / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.00476, allocations: 19.72 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.004777, allocations: 0 / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.004804, allocations: 37.42 kB / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.004805, allocations: 4 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001583/0.004963, allocations: 57.52 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.005008, allocations: 55.41 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.005108, allocations: 169.9 kB / 275.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.005119, allocations: 25.7 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.005165, allocations: 138.9 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.005168, allocations: 0 / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.005188, allocations: 15.38 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.005317, allocations: 496.1 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-06/0.005323, allocations: 0 / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-06/0.005327, allocations: 0 / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.00536, allocations: 119.2 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-05/0.005389, allocations: 119.2 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.359e-05/0.005442, allocations: 37.64 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.005485, allocations: 126 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/0.005518, allocations: 131.2 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.565e-05/0.005584, allocations: 238.4 kB / 277.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.857e-05/0.005612, allocations: 123.1 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.433e-05/0.005667, allocations: 242.4 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.00572, allocations: 127.3 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.005749, allocations: 123.2 kB / 277.8 MB, free: 12.38 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.0001039/0.005853, allocations: 279.8 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.005912, allocations: 41.62 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.005941, allocations: 15.69 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.005944, allocations: 0 / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.005948, allocations: 0 / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.005953, allocations: 7.922 kB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.094e-05/0.006024, allocations: 116.6 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.006028, allocations: 240 / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.963e-05/0.006108, allocations: 4 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.006112, allocations: 0 / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.00612, allocations: 0 / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.006123, allocations: 0 / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.006126, allocations: 7.969 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.134e-05/0.006218, allocations: 88.38 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.006228, allocations: 3.938 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.006241, allocations: 4 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/0.006268, allocations: 3.938 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-06/0.006274, allocations: 3.938 kB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.006283, allocations: 0 / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.372e-05/0.006327, allocations: 127.2 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006327, allocations: 0 / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000148/0.006475, allocations: 4 kB / 278.5 MB, free: 11.61 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.0001229/0.006598, allocations: 103.2 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.887e-05/0.006676, allocations: 8 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.006679, allocations: 0 / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.00668, allocations: 0 / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.006918, allocations: 17.97 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.007188, allocations: 121.1 kB / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.518e-05/0.007233, allocations: 55.36 kB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.233e-05/0.007246, allocations: 0 / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.007278, allocations: 12.5 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of SimCode: time 1.272e-06/0.007279, allocations: 0 / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of Templates: time 0.002074/0.009354, allocations: 306.8 kB / 279.1 MB, free: 10.94 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.7740402328781784]