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.00119/0.00119, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002136/0.003326, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001395/0.001395, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001847/0.003242, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9349/0.9349, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08252/1.017, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.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.873e-06/1.873e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.603e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003228/0.003254, allocations: 1.536 MB / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002289/0.003483, allocations: 104.3 kB / 246.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.003538, allocations: 0 / 246.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.003568, allocations: 7.922 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.738e-05/0.003595, allocations: 0 / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.003765, allocations: 31.78 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.341e-05/0.003859, allocations: 23.94 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.003948, allocations: 11.98 kB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.004017, allocations: 15.97 kB / 246.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.331e-05/0.00405, allocations: 7.938 kB / 246.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.004073, allocations: 8 kB / 246.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-06/0.004082, allocations: 0 / 246.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.00411, allocations: 4 kB / 246.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.004132, allocations: 7.938 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.373e-05/0.004226, allocations: 15.98 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.004236, allocations: 0 / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.004237, allocations: 3.938 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.004248, allocations: 4 kB / 247 MB, free: 11.8 MB / 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.0003579/0.004606, allocations: 244.6 kB / 247.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.004639, allocations: 8.031 kB / 247.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.004672, allocations: 8.938 kB / 247.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.004838, allocations: 117.7 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.00486, allocations: 4.375 kB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.004873, allocations: 8.312 kB / 247.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.00508, allocations: 104.5 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.005089, allocations: 192 / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.005095, allocations: 384 / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.005102, allocations: 8.359 kB / 247.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.00513, allocations: 15.88 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.529e-05/0.005205, allocations: 57.05 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.301e-05/0.005278, allocations: 30.56 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.005301, allocations: 8.859 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.005317, allocations: 0 / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.005344, allocations: 42.56 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.005345, allocations: 0 / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001114/0.005456, allocations: 45.62 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.005494, allocations: 55.39 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.005558, allocations: 106.7 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.005571, allocations: 33.7 kB / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.005596, allocations: 84.12 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.005597, allocations: 0 / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.005622, allocations: 17.7 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.005706, allocations: 314.8 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-06/0.00571, allocations: 0 / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-06/0.005713, allocations: 0 / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.045e-05/0.005734, allocations: 79.28 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/0.005752, allocations: 75.28 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.874e-05/0.005801, allocations: 29.64 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.005833, allocations: 87.28 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.005857, allocations: 79.27 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.005e-05/0.005907, allocations: 154.6 kB / 248.8 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.175e-05/0.005929, allocations: 83.22 kB / 248.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.776e-05/0.005967, allocations: 150.6 kB / 249 MB, free: 9.617 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.006033, allocations: 79.22 kB / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.006056, allocations: 83.28 kB / 249.1 MB, free: 9.457 MB / 250.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.345e-05/0.006129, allocations: 185.1 kB / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.006176, allocations: 37.69 kB / 249.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.006208, allocations: 11.69 kB / 249.4 MB, free: 9.207 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.00621, allocations: 4 kB / 249.4 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006211, allocations: 7.875 kB / 249.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.006215, allocations: 3.984 kB / 249.4 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.878e-05/0.006274, allocations: 69.83 kB / 249.5 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.006278, allocations: 0 / 249.5 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.006326, allocations: 4 kB / 249.5 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-06/0.006332, allocations: 0 / 249.5 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.006335, allocations: 0 / 249.5 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.006342, allocations: 3.984 kB / 249.5 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.006346, allocations: 4 kB / 249.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006347, allocations: 0 / 249.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.802e-05/0.006395, allocations: 57.31 kB / 249.5 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.006404, allocations: 0 / 249.5 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.006429, allocations: 4.234 kB / 249.5 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-06/0.006432, allocations: 0 / 249.5 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.006439, allocations: 8 kB / 249.5 MB, free: 9.008 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.831e-05/0.006457, allocations: 16.84 kB / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006457, allocations: 0 / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.006633, allocations: 3.938 kB / 249.6 MB, free: 8.984 MB / 250.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.000113/0.006746, allocations: 76.42 kB / 249.6 MB, free: 8.902 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.845e-05/0.006795, allocations: 8 kB / 249.6 MB, free: 8.895 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.006799, allocations: 4 kB / 249.6 MB, free: 8.891 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.0068, allocations: 0 / 249.6 MB, free: 8.891 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.006942, allocations: 25.08 kB / 249.7 MB, free: 8.863 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.007343, allocations: 115.3 kB / 249.8 MB, free: 8.727 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.899e-05/0.007381, allocations: 63.34 kB / 249.8 MB, free: 8.645 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.143e-05/0.007393, allocations: 3.938 kB / 249.8 MB, free: 8.641 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.007437, allocations: 51.38 kB / 249.9 MB, free: 8.59 MB / 250.7 MB Notification: Performance of SimCode: time 6.61e-07/0.007438, allocations: 0 / 249.9 MB, free: 8.59 MB / 250.7 MB Notification: Performance of Templates: time 0.002085/0.009523, allocations: 309.4 kB / 250.2 MB, free: 8.289 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.396972853690386]