Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.002728, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009732/0.0009732, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002288, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9186/0.9186, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08031/0.9989, allocations: 52.5 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.516e-06/9.878e-06, allocations: 2.875 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001553/0.001562, allocations: 1.517 MB / 241.1 MB, free: 1.664 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001464/0.001709, allocations: 99.62 kB / 241.2 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.001757, allocations: 3.938 kB / 241.2 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.001782, allocations: 3.938 kB / 241.2 MB, free: 1.559 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.179e-05/0.001804, allocations: 3.984 kB / 241.2 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.001924, allocations: 23.86 kB / 241.2 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.516e-05/0.001999, allocations: 31.92 kB / 241.2 MB, free: 1.5 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.438e-05/0.002073, allocations: 15.97 kB / 241.2 MB, free: 1.484 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.002132, allocations: 15.92 kB / 241.3 MB, free: 1.469 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.863e-05/0.00216, allocations: 4 kB / 241.3 MB, free: 1.465 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.00218, allocations: 4 kB / 241.3 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.002188, allocations: 0 / 241.3 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.002205, allocations: 7.938 kB / 241.3 MB, free: 1.453 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.002226, allocations: 4 kB / 241.3 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.606e-05/0.002302, allocations: 19.92 kB / 241.3 MB, free: 1.43 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.002315, allocations: 0 / 241.3 MB, free: 1.43 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.002316, allocations: 0 / 241.3 MB, free: 1.43 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.002333, allocations: 8 kB / 241.3 MB, free: 1.422 MB / 234.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.002667, allocations: 244.5 kB / 241.5 MB, free: 1.156 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.002696, allocations: 8.031 kB / 241.5 MB, free: 1.148 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.002722, allocations: 8.922 kB / 241.6 MB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.002841, allocations: 117.7 kB / 241.7 MB, free: 1 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.002862, allocations: 4.375 kB / 241.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.002869, allocations: 4.375 kB / 241.7 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.003027, allocations: 104.5 kB / 241.8 MB, free: 0.875 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.003034, allocations: 192 / 241.8 MB, free: 0.875 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.00304, allocations: 384 / 241.8 MB, free: 0.875 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.003045, allocations: 384 / 241.8 MB, free: 0.875 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.003067, allocations: 11.92 kB / 241.8 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.507e-05/0.003122, allocations: 57.05 kB / 241.9 MB, free: 0.793 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.003185, allocations: 42.48 kB / 241.9 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.003202, allocations: 12.86 kB / 241.9 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.003219, allocations: 0 / 241.9 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.003237, allocations: 34.56 kB / 241.9 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.003237, allocations: 4 kB / 241.9 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 9.062e-05/0.003328, allocations: 41.69 kB / 242 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.003362, allocations: 55.34 kB / 242 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.997e-05/0.003412, allocations: 110.7 kB / 242.1 MB, free: 456 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.003421, allocations: 29.7 kB / 242.2 MB, free: 420 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.884e-05/0.00344, allocations: 84.12 kB / 242.3 MB, free: 332 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.003441, allocations: 0 / 242.3 MB, free: 332 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.003457, allocations: 13.72 kB / 242.3 MB, free: 312 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.003664, allocations: 318.8 kB / 242.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-06/0.003668, allocations: 0 / 242.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.003671, allocations: 7.938 kB / 242.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.795e-05/0.003689, allocations: 79.28 kB / 242.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.003704, allocations: 75.28 kB / 242.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.235e-05/0.003736, allocations: 27.3 kB / 242.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.00376, allocations: 83.28 kB / 242.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.003783, allocations: 79.22 kB / 242.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.68e-05/0.00382, allocations: 150.6 kB / 243.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.72e-05/0.003837, allocations: 83.22 kB / 243.2 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/0.00387, allocations: 154.5 kB / 243.3 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.003908, allocations: 79.53 kB / 243.4 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.003926, allocations: 87.2 kB / 243.5 MB, free: 15.09 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 5.99e-05/0.003986, allocations: 189.1 kB / 243.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.004023, allocations: 37.69 kB / 243.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.004045, allocations: 15.69 kB / 243.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.004046, allocations: 0 / 243.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.004047, allocations: 0 / 243.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.00405, allocations: 0 / 243.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.206e-05/0.004092, allocations: 70.06 kB / 243.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.004095, allocations: 0 / 243.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.004136, allocations: 7.938 kB / 243.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.004142, allocations: 3.984 kB / 243.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.004144, allocations: 4 kB / 243.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-06/0.004147, allocations: 0 / 243.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.004148, allocations: 0 / 243.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.00415, allocations: 7.984 kB / 243.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.172e-05/0.004181, allocations: 57.06 kB / 243.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-06/0.004188, allocations: 0 / 243.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.365e-05/0.004202, allocations: 0 / 243.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.004205, allocations: 0 / 243.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.004211, allocations: 8 kB / 243.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.117e-06/0.00422, allocations: 4.859 kB / 243.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00422, allocations: 4 kB / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001022/0.004322, allocations: 4 kB / 243.9 MB, free: 14.62 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 6.419e-05/0.004386, allocations: 80.41 kB / 244 MB, free: 14.53 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.715e-05/0.004423, allocations: 7.938 kB / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.004427, allocations: 4 kB / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.81e-07/0.004427, allocations: 3.938 kB / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.402e-05/0.004521, allocations: 17.09 kB / 244 MB, free: 14.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.004824, allocations: 123.5 kB / 244.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.779e-05/0.004852, allocations: 55.36 kB / 244.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.873e-06/0.004859, allocations: 4 kB / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.004888, allocations: 47.38 kB / 244.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.004889, allocations: 0 / 244.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of Templates: time 0.001572/0.006461, allocations: 326.6 kB / 244.5 MB, free: 13.91 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3928843084722757]