Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007523/0.0007523, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009906/0.001743, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006952/0.0006952, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008467/0.001542, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9399/0.9399, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08685/1.027, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.528e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002225/0.002251, allocations: 1.544 MB / 246.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001889/0.00244, allocations: 104.3 kB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.002489, allocations: 0 / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.002512, allocations: 3.938 kB / 246.2 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.229e-05/0.002535, allocations: 0 / 246.2 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.002668, allocations: 27.84 kB / 246.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.002747, allocations: 27.88 kB / 246.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.453e-05/0.002821, allocations: 11.98 kB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.836e-05/0.00288, allocations: 11.98 kB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.122e-05/0.002911, allocations: 15.97 kB / 246.3 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.002932, allocations: 4 kB / 246.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-06/0.00294, allocations: 3.938 kB / 246.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.002958, allocations: 4 kB / 246.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.002982, allocations: 4 kB / 246.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.747e-05/0.00307, allocations: 11.94 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337e-05/0.003083, allocations: 0 / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.003084, allocations: 4 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.003102, allocations: 0 / 246.3 MB, free: 12.55 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.0003628/0.003465, allocations: 248.6 kB / 246.5 MB, free: 12.28 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.003497, allocations: 8.031 kB / 246.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.003526, allocations: 4.938 kB / 246.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.003949, allocations: 125.7 kB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.003971, allocations: 4.375 kB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.003978, allocations: 384 / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.004168, allocations: 104.5 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.004174, allocations: 192 / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.004181, allocations: 384 / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.004186, allocations: 384 / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.004208, allocations: 7.938 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.032e-05/0.004279, allocations: 61.05 kB / 246.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.872e-05/0.004347, allocations: 34.56 kB / 246.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.004366, allocations: 8.859 kB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.004385, allocations: 3.938 kB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.004408, allocations: 38.55 kB / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.004409, allocations: 0 / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.841e-05/0.004507, allocations: 45.69 kB / 247 MB, free: 11.76 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.004545, allocations: 59.34 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.0046, allocations: 106.7 kB / 247.1 MB, free: 11.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.004609, allocations: 25.7 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.004632, allocations: 88.11 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.004633, allocations: 0 / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.004655, allocations: 13.72 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.004733, allocations: 314.8 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-06/0.004738, allocations: 4.188 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.004743, allocations: 4 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.004767, allocations: 83.28 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/0.004784, allocations: 75.28 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.634e-05/0.004831, allocations: 29.7 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.00486, allocations: 86.86 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.004886, allocations: 83.41 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.192e-05/0.004928, allocations: 154.6 kB / 248.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.07e-05/0.004948, allocations: 79.3 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-05/0.004983, allocations: 154.5 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.005041, allocations: 79.27 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.00506, allocations: 83.22 kB / 248.5 MB, free: 10.21 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.296e-05/0.005133, allocations: 189.1 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.005185, allocations: 41.69 kB / 248.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.00521, allocations: 11.67 kB / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.005212, allocations: 0 / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.005213, allocations: 0 / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005216, allocations: 0 / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.699e-05/0.005273, allocations: 69.83 kB / 248.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.005276, allocations: 0 / 248.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.005323, allocations: 4 kB / 248.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.005331, allocations: 3.984 kB / 248.8 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.005333, allocations: 0 / 248.8 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.005336, allocations: 4 kB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.005339, allocations: 4 kB / 248.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00534, allocations: 0 / 248.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.482e-05/0.005385, allocations: 61.02 kB / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.005393, allocations: 0 / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.005413, allocations: 0 / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-06/0.005416, allocations: 7.922 kB / 248.9 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.005421, allocations: 4 kB / 248.9 MB, free: 9.762 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.308e-05/0.005434, allocations: 8.859 kB / 248.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005434, allocations: 0 / 248.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000158/0.005592, allocations: 0 / 248.9 MB, free: 9.75 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 8.649e-05/0.005679, allocations: 88.61 kB / 249 MB, free: 9.656 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.253e-05/0.005721, allocations: 7.984 kB / 249 MB, free: 9.648 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.005726, allocations: 7.938 kB / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.21e-07/0.005726, allocations: 0 / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.005846, allocations: 15.84 kB / 249 MB, free: 9.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.006231, allocations: 119.3 kB / 249.1 MB, free: 9.484 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.348e-05/0.006264, allocations: 59.34 kB / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.616e-06/0.006273, allocations: 0 / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.006306, allocations: 51.38 kB / 249.2 MB, free: 9.355 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.006307, allocations: 0 / 249.2 MB, free: 9.355 MB / 250.7 MB Notification: Performance of Templates: time 0.001934/0.008241, allocations: 316.7 kB / 249.5 MB, free: 9.047 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.4192458409816027]