Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0009695/0.0009695, allocations: 76.08 kB / 21.18 MB, free: 3.387 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.000947/0.000947, allocations: 141.1 kB / 24.54 MB, free: 32 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 0.9695/0.9695, allocations: 173.4 MB / 201.2 MB, free: 9.34 MB / 186.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.183e-05, allocations: 6.25 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001921/0.001943, allocations: 1.489 MB / 269.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002669/0.00221, allocations: 99.61 kB / 269.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.002269, allocations: 0 / 269.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.002299, allocations: 3.938 kB / 269.6 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.002343, allocations: 11.86 kB / 269.6 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.002592, allocations: 15.98 kB / 269.6 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.729e-05/0.00268, allocations: 27.92 kB / 269.6 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.002788, allocations: 15.98 kB / 269.6 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.326e-05/0.002841, allocations: 11.94 kB / 269.7 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.00289, allocations: 7.984 kB / 269.7 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.149e-05/0.002951, allocations: 0 / 269.7 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.00296, allocations: 4 kB / 269.7 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.002979, allocations: 7.984 kB / 269.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.003006, allocations: 11.88 kB / 269.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.331e-05/0.003089, allocations: 19.92 kB / 269.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003091, allocations: 0 / 269.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003092, allocations: 0 / 269.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.003096, allocations: 0 / 269.7 MB, free: 4.715 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.0003852/0.003481, allocations: 372.6 kB / 270.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.003523, allocations: 8.031 kB / 270.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.003564, allocations: 4.938 kB / 270.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.003736, allocations: 128.5 kB / 270.2 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.003748, allocations: 4.375 kB / 270.2 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.003761, allocations: 4.312 kB / 270.2 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.004019, allocations: 102.2 kB / 270.3 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.00403, allocations: 4.188 kB / 270.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.004039, allocations: 4.359 kB / 270.3 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.004047, allocations: 4.312 kB / 270.3 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.004076, allocations: 11.92 kB / 270.3 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.004184, allocations: 116.6 kB / 270.5 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.004277, allocations: 39.06 kB / 270.5 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.004316, allocations: 19.75 kB / 270.5 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.00434, allocations: 4 kB / 270.5 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.004369, allocations: 37.39 kB / 270.5 MB, free: 3.727 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.00437, allocations: 0 / 270.5 MB, free: 3.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001451/0.004515, allocations: 61.58 kB / 270.6 MB, free: 3.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.004554, allocations: 51.41 kB / 270.7 MB, free: 3.598 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.004635, allocations: 169.9 kB / 270.8 MB, free: 3.414 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.004646, allocations: 25.7 kB / 270.9 MB, free: 3.383 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.00469, allocations: 134.9 kB / 271 MB, free: 3.246 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.004693, allocations: 0 / 271 MB, free: 3.246 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.004714, allocations: 15.38 kB / 271 MB, free: 3.223 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.004851, allocations: 0.4884 MB / 271.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-06/0.004858, allocations: 0 / 271.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-06/0.004862, allocations: 0 / 271.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.004897, allocations: 123.2 kB / 271.6 MB, free: 2.602 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.029e-05/0.004928, allocations: 127.1 kB / 271.7 MB, free: 2.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.265e-05/0.00497, allocations: 29.7 kB / 271.8 MB, free: 2.441 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.005016, allocations: 123.2 kB / 271.9 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.005045, allocations: 119.2 kB / 272 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-05/0.005114, allocations: 246.3 kB / 272.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.623e-05/0.00514, allocations: 119.2 kB / 272.4 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-05/0.005197, allocations: 242.3 kB / 272.6 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/0.005258, allocations: 131.4 kB / 272.7 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.005291, allocations: 123.2 kB / 272.8 MB, free: 1.355 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.938e-05/0.00539, allocations: 275.8 kB / 273.1 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.005453, allocations: 57.58 kB / 273.2 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.00549, allocations: 8 kB / 273.2 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005492, allocations: 0 / 273.2 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.005497, allocations: 3.938 kB / 273.2 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.005503, allocations: 3.938 kB / 273.2 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.502e-05/0.005568, allocations: 120.6 kB / 273.3 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.005571, allocations: 0 / 273.3 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.005645, allocations: 8 kB / 273.3 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.005648, allocations: 0 / 273.3 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.005654, allocations: 0 / 273.3 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.005657, allocations: 0 / 273.3 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005658, allocations: 4 kB / 273.3 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.226e-05/0.00573, allocations: 92.53 kB / 273.4 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.00574, allocations: 7.953 kB / 273.4 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.005758, allocations: 7.984 kB / 273.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-06/0.005767, allocations: 0 / 273.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.005769, allocations: 0 / 273.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.005774, allocations: 0 / 273.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.742e-05/0.005811, allocations: 123.2 kB / 273.5 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005811, allocations: 4 kB / 273.5 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.005945, allocations: 0 / 273.5 MB, free: 0.5703 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 7.995e-05/0.006025, allocations: 111.2 kB / 273.6 MB, free: 464 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.089e-05/0.006075, allocations: 4 kB / 273.7 MB, free: 460 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.006078, allocations: 0 / 273.7 MB, free: 460 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.006078, allocations: 0 / 273.7 MB, free: 460 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.006251, allocations: 21.09 kB / 273.7 MB, free: 436 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.006504, allocations: 113.2 kB / 273.8 MB, free: 296 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.006543, allocations: 59.34 kB / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.723e-06/0.00655, allocations: 0 / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.006577, allocations: 12.5 kB / 273.9 MB, free: 204 kB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006578, allocations: 4 kB / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of Templates: time 0.001892/0.008469, allocations: 301.2 kB / 274.2 MB, free: 15.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.8082668450661004]