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.0009216/0.0009216, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003563/0.003563, allocations: 157.7 kB / 24.7 MB, free: 8.891 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 0.8909/0.8909, allocations: 177 MB / 204.9 MB, free: 5.73 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.383e-06/1.383e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.122e-05, allocations: 3.125 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002044/0.002075, allocations: 1.461 MB / 327.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002536/0.002329, allocations: 87.75 kB / 327.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.002387, allocations: 0 / 327.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.002414, allocations: 3.938 kB / 327.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.814e-05/0.002452, allocations: 11.88 kB / 327.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.002686, allocations: 23.97 kB / 327.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.392e-05/0.00277, allocations: 23.92 kB / 327.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.00288, allocations: 11.98 kB / 327.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.002925, allocations: 11.98 kB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.987e-05/0.002954, allocations: 11.92 kB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.002979, allocations: 0 / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-06/0.002987, allocations: 4 kB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.003005, allocations: 4 kB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.003028, allocations: 4 kB / 327.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.955e-05/0.003117, allocations: 39.77 kB / 327.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.00312, allocations: 0 / 327.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.003121, allocations: 4 kB / 327.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.003125, allocations: 0 / 327.5 MB, free: 13.68 MB / 298.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.0003578/0.003483, allocations: 266.3 kB / 327.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.003521, allocations: 11.98 kB / 327.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.003559, allocations: 4.938 kB / 327.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.003741, allocations: 117.7 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.003762, allocations: 4.375 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.003771, allocations: 384 / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.004001, allocations: 103.9 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.004008, allocations: 192 / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.004019, allocations: 8.375 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.004024, allocations: 384 / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.697e-05/0.004071, allocations: 19.92 kB / 328 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.397e-05/0.004165, allocations: 105.2 kB / 328.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.004264, allocations: 46.56 kB / 328.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.0043, allocations: 20.92 kB / 328.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.004318, allocations: 4 kB / 328.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.004338, allocations: 34.56 kB / 328.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.004339, allocations: 0 / 328.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001695/0.004509, allocations: 69.52 kB / 328.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.004555, allocations: 63.33 kB / 328.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.466e-05/0.00462, allocations: 105.8 kB / 328.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.004629, allocations: 25.7 kB / 328.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.00466, allocations: 84.14 kB / 328.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.004663, allocations: 0 / 328.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.004682, allocations: 13.7 kB / 328.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.004757, allocations: 318.8 kB / 328.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-06/0.004762, allocations: 4 kB / 328.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-06/0.004766, allocations: 0 / 328.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.145e-05/0.004787, allocations: 75.28 kB / 328.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/0.004805, allocations: 75.28 kB / 329 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.691e-05/0.004842, allocations: 33.83 kB / 329.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.004873, allocations: 79.28 kB / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.004894, allocations: 75.28 kB / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.743e-05/0.004942, allocations: 158.5 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.458e-05/0.004966, allocations: 83.2 kB / 329.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.604e-05/0.005002, allocations: 150.6 kB / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.005051, allocations: 95.16 kB / 329.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.005068, allocations: 75.28 kB / 329.8 MB, free: 11.21 MB / 298.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 7.535e-05/0.005143, allocations: 181.1 kB / 329.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.005221, allocations: 53.69 kB / 330 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.005251, allocations: 7.672 kB / 330 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.005253, allocations: 4 kB / 330 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.005258, allocations: 3.938 kB / 330 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.005262, allocations: 3.938 kB / 330 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.362e-05/0.005316, allocations: 105.3 kB / 330.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.00532, allocations: 4 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.005372, allocations: 3.984 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.005376, allocations: 0 / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.005382, allocations: 4 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.005385, allocations: 256 / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005386, allocations: 0 / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.912e-05/0.005475, allocations: 77.06 kB / 330.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.005483, allocations: 11.94 kB / 330.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.005493, allocations: 0 / 330.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.094e-05/0.005504, allocations: 7.922 kB / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-06/0.005507, allocations: 4 kB / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.005511, allocations: 4 kB / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.005541, allocations: 83.28 kB / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005541, allocations: 0 / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.00568, allocations: 7.938 kB / 330.3 MB, free: 10.59 MB / 298.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 9.102e-05/0.005771, allocations: 99.12 kB / 330.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.762e-05/0.005828, allocations: 15.98 kB / 330.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.005831, allocations: 0 / 330.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.32e-07/0.005831, allocations: 0 / 330.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.006017, allocations: 23.98 kB / 330.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.006264, allocations: 134.7 kB / 330.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.006306, allocations: 63.34 kB / 330.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.006328, allocations: 12.5 kB / 330.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.006329, allocations: 0 / 330.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Templates: time 0.00137/0.007698, allocations: 0.5153 MB / 331.2 MB, free: 9.672 MB / 298.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: 3.9110952643677592]