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.002472/0.002472, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002757/0.002757, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 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 1.642/1.642, allocations: 173.4 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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 2.024e-06/2.024e-06, allocations: 0 / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.672e-05, allocations: 2.312 kB / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003344/0.003371, allocations: 1.452 MB / 268.8 MB, free: 5.297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003888/0.00376, allocations: 87.64 kB / 268.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.003828, allocations: 4 kB / 268.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.003854, allocations: 3.938 kB / 268.9 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.003903, allocations: 3.938 kB / 268.9 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.004172, allocations: 23.97 kB / 268.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.95e-05/0.004272, allocations: 27.86 kB / 268.9 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.004375, allocations: 11.97 kB / 268.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.004434, allocations: 12 kB / 268.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.004481, allocations: 11.98 kB / 268.9 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.004502, allocations: 4 kB / 268.9 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.00451, allocations: 3.938 kB / 269 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.004527, allocations: 0 / 269 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.004559, allocations: 8 kB / 269 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.004683, allocations: 35.77 kB / 269 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004685, allocations: 0 / 269 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004686, allocations: 0 / 269 MB, free: 5.062 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004691, allocations: 0 / 269 MB, free: 5.062 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.0005879/0.005278, allocations: 372.2 kB / 269.4 MB, free: 4.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.005329, allocations: 16.03 kB / 269.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.005408, allocations: 4.938 kB / 269.4 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.005641, allocations: 124.6 kB / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.005665, allocations: 4.375 kB / 269.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.005675, allocations: 384 / 269.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.006059, allocations: 105.5 kB / 269.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.006072, allocations: 4.188 kB / 269.6 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.006082, allocations: 384 / 269.6 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006087, allocations: 384 / 269.6 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.006206, allocations: 19.88 kB / 269.6 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.006403, allocations: 116.6 kB / 269.7 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.006642, allocations: 55.05 kB / 269.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.006731, allocations: 27.75 kB / 269.8 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.006756, allocations: 0 / 269.8 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.006799, allocations: 37.39 kB / 269.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.0068, allocations: 0 / 269.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003045/0.007104, allocations: 77.73 kB / 269.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.007169, allocations: 55.41 kB / 270 MB, free: 3.906 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.007351, allocations: 173.8 kB / 270.2 MB, free: 3.719 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.007375, allocations: 29.7 kB / 270.2 MB, free: 3.684 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/0.007469, allocations: 126.9 kB / 270.3 MB, free: 3.555 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.007471, allocations: 0 / 270.3 MB, free: 3.555 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.007516, allocations: 23.38 kB / 270.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0005399/0.008056, allocations: 492.1 kB / 270.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-06/0.008062, allocations: 0 / 270.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-06/0.008064, allocations: 0 / 270.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.534e-05/0.00815, allocations: 127.1 kB / 270.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.688e-05/0.008237, allocations: 123.2 kB / 271.1 MB, free: 2.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.204e-05/0.008329, allocations: 33.62 kB / 271.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.232e-05/0.008421, allocations: 127.2 kB / 271.2 MB, free: 2.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-05/0.008502, allocations: 119.2 kB / 271.3 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.00867, allocations: 242.3 kB / 271.6 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.008751, allocations: 127.2 kB / 271.7 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001501/0.008901, allocations: 238.4 kB / 271.9 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.009046, allocations: 127.1 kB / 272.1 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/0.009143, allocations: 119.2 kB / 272.2 MB, free: 1.664 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 0.0002105/0.009353, allocations: 283.8 kB / 272.4 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.009515, allocations: 57.62 kB / 272.5 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.009551, allocations: 7.688 kB / 272.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.009554, allocations: 0 / 272.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.009557, allocations: 0 / 272.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.009563, allocations: 3.938 kB / 272.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.009704, allocations: 116.6 kB / 272.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.009707, allocations: 0 / 272.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.009758, allocations: 4 kB / 272.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.009762, allocations: 256 / 272.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.009769, allocations: 4 kB / 272.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.009775, allocations: 4 kB / 272.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009776, allocations: 0 / 272.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.01, allocations: 100.3 kB / 272.7 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.01001, allocations: 7.984 kB / 272.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.01003, allocations: 0 / 272.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.166e-05/0.01006, allocations: 4 kB / 272.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-06/0.01006, allocations: 0 / 272.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.01008, allocations: 4 kB / 272.8 MB, free: 1 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.6e-05/0.01017, allocations: 123.2 kB / 272.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01017, allocations: 0 / 272.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003434/0.01051, allocations: 4 kB / 272.9 MB, free: 0.875 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.0001606/0.01068, allocations: 107.2 kB / 273 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.01077, allocations: 8 kB / 273 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01077, allocations: 0 / 273 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.01077, allocations: 0 / 273 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.0111, allocations: 32.92 kB / 273 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.01145, allocations: 124.3 kB / 273.1 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.797e-05/0.01155, allocations: 71.33 kB / 273.2 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.071e-05/0.01156, allocations: 0 / 273.2 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.01159, allocations: 8.5 kB / 273.2 MB, free: 484 kB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01159, allocations: 0 / 273.2 MB, free: 484 kB / 250.7 MB Notification: Performance of Templates: time 0.003391/0.01498, allocations: 301 kB / 273.5 MB, free: 192 kB / 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.361841925070621]