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.001116/0.001116, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002543, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007391/0.0007391, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009967/0.001736, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1/1, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09687/1.097, allocations: 53.66 MB / 243.4 MB, free: 15.5 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 2.214e-06/2.214e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.963e-05, allocations: 6.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003078/0.003107, allocations: 1.545 MB / 246.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002098/0.003317, allocations: 100.3 kB / 246.4 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.003367, allocations: 0 / 246.4 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.003393, allocations: 3.938 kB / 246.4 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.82e-05/0.003421, allocations: 11.88 kB / 246.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.003569, allocations: 23.91 kB / 246.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.003655, allocations: 23.92 kB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.112e-05/0.003736, allocations: 8 kB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.003807, allocations: 19.92 kB / 246.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.003843, allocations: 7.984 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.003865, allocations: 4 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.003876, allocations: 4 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.0039, allocations: 3.938 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.003925, allocations: 11.98 kB / 246.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.727e-05/0.004012, allocations: 15.92 kB / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.004022, allocations: 3.938 kB / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004022, allocations: 0 / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.004031, allocations: 4 kB / 246.5 MB, free: 12.41 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.0003343/0.004365, allocations: 240.6 kB / 246.7 MB, free: 12.15 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.004404, allocations: 12.03 kB / 246.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.004437, allocations: 8.922 kB / 246.8 MB, free: 12.13 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.004591, allocations: 121.7 kB / 246.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.004608, allocations: 384 / 246.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.004621, allocations: 4.375 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.004811, allocations: 104.5 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.00482, allocations: 192 / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.004826, allocations: 384 / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.004831, allocations: 384 / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/0.004856, allocations: 19.86 kB / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.166e-05/0.004928, allocations: 57.05 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.162e-05/0.005, allocations: 26.58 kB / 247.1 MB, free: 11.74 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.005022, allocations: 12.84 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.005038, allocations: 4 kB / 247.1 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.005061, allocations: 34.56 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.005062, allocations: 4 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001088/0.005171, allocations: 49.62 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.00521, allocations: 55.41 kB / 247.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.005271, allocations: 106.7 kB / 247.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.005283, allocations: 25.7 kB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.005308, allocations: 84.14 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.00531, allocations: 0 / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.005336, allocations: 13.7 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.005421, allocations: 322.8 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-06/0.005424, allocations: 0 / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-06/0.005428, allocations: 0 / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.141e-05/0.005449, allocations: 79.28 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/0.005469, allocations: 75.28 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.525e-05/0.005514, allocations: 33.64 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.005545, allocations: 83.28 kB / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.005567, allocations: 79.28 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.678e-05/0.005614, allocations: 154.6 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.157e-05/0.005635, allocations: 83.16 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.245e-05/0.005678, allocations: 158.5 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.005741, allocations: 79.22 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.005761, allocations: 75.28 kB / 248.7 MB, free: 10.08 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 9.065e-05/0.005852, allocations: 193.1 kB / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.00591, allocations: 41.69 kB / 248.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.005937, allocations: 7.625 kB / 248.9 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.005939, allocations: 240 / 248.9 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.005941, allocations: 0 / 248.9 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.005945, allocations: 3.984 kB / 248.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.191e-05/0.006007, allocations: 69.83 kB / 249 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.00601, allocations: 0 / 249 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.006057, allocations: 4 kB / 249 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-06/0.006066, allocations: 3.984 kB / 249 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.006069, allocations: 4 kB / 249 MB, free: 9.723 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006075, allocations: 8 kB / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.006077, allocations: 0 / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.006078, allocations: 0 / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.938e-05/0.006128, allocations: 57.06 kB / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.006137, allocations: 256 / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.585e-05/0.006163, allocations: 4 kB / 249 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-06/0.006167, allocations: 4 kB / 249 MB, free: 9.633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.006172, allocations: 0 / 249 MB, free: 9.633 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.874e-05/0.006191, allocations: 12.8 kB / 249.1 MB, free: 9.617 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006191, allocations: 0 / 249.1 MB, free: 9.617 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001748/0.006366, allocations: 4 kB / 249.1 MB, free: 9.613 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 9.414e-05/0.00646, allocations: 88.41 kB / 249.2 MB, free: 9.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.293e-05/0.006513, allocations: 4 kB / 249.2 MB, free: 9.516 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.006518, allocations: 0 / 249.2 MB, free: 9.516 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.006519, allocations: 0 / 249.2 MB, free: 9.516 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.00666, allocations: 29.02 kB / 249.2 MB, free: 9.484 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.007072, allocations: 116.4 kB / 249.3 MB, free: 9.348 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.84e-05/0.007111, allocations: 55.36 kB / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.266e-06/0.007119, allocations: 0 / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.00716, allocations: 55.36 kB / 249.4 MB, free: 9.219 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.007161, allocations: 0 / 249.4 MB, free: 9.219 MB / 250.7 MB Notification: Performance of Templates: time 0.001898/0.009058, allocations: 325.6 kB / 249.7 MB, free: 8.902 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5446621533483267]