Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.0007995/0.0007995, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008614/0.0008614, allocations: 144.8 kB / 24.89 MB, free: 8.777 MB / 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.9445/0.9445, allocations: 173.4 MB / 201.5 MB, free: 8.762 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 268.5 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.376e-05, allocations: 6.312 kB / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.0018/0.001813, allocations: 1.471 MB / 269.9 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001634/0.001977, allocations: 35.84 kB / 270 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.002029, allocations: 0 / 270 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.002052, allocations: 3.938 kB / 270 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.23e-05/0.002084, allocations: 7.984 kB / 270 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.002273, allocations: 19.92 kB / 270 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.00234, allocations: 31.91 kB / 270 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.746e-05/0.002408, allocations: 15.92 kB / 270 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.002456, allocations: 15.92 kB / 270.1 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.178e-05/0.002488, allocations: 8 kB / 270.1 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.002508, allocations: 4 kB / 270.1 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-06/0.002515, allocations: 0 / 270.1 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.002532, allocations: 7.984 kB / 270.1 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.002548, allocations: 11.92 kB / 270.1 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.44e-05/0.002613, allocations: 23.98 kB / 270.1 MB, free: 4.367 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.002614, allocations: 0 / 270.1 MB, free: 4.367 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.002615, allocations: 0 / 270.1 MB, free: 4.367 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.002618, allocations: 0 / 270.1 MB, free: 4.367 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.0002571/0.002875, allocations: 252.8 kB / 270.4 MB, free: 4.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.002904, allocations: 8.031 kB / 270.4 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.002929, allocations: 4.938 kB / 270.4 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.003054, allocations: 121.7 kB / 270.5 MB, free: 3.938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.003071, allocations: 4.359 kB / 270.5 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.003082, allocations: 8.375 kB / 270.5 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.003231, allocations: 100.5 kB / 270.6 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003238, allocations: 4.188 kB / 270.6 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.003244, allocations: 384 / 270.6 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.003249, allocations: 384 / 270.6 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.003267, allocations: 11.92 kB / 270.6 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.85e-05/0.003326, allocations: 56.98 kB / 270.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.19e-05/0.003378, allocations: 34.55 kB / 270.7 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.003395, allocations: 8.859 kB / 270.7 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.003402, allocations: 15.94 kB / 270.7 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.003421, allocations: 30.56 kB / 270.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.003422, allocations: 0 / 270.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.256e-05/0.003504, allocations: 41.69 kB / 270.8 MB, free: 3.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.003548, allocations: 55.41 kB / 270.9 MB, free: 3.504 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/0.003603, allocations: 110.7 kB / 271 MB, free: 3.383 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.003612, allocations: 29.7 kB / 271 MB, free: 3.348 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.076e-05/0.003633, allocations: 80.14 kB / 271.1 MB, free: 3.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.00364, allocations: 0 / 271.1 MB, free: 3.266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.003661, allocations: 17.7 kB / 271.1 MB, free: 3.242 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.003732, allocations: 322.8 kB / 271.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-06/0.003736, allocations: 11.88 kB / 271.4 MB, free: 2.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-06/0.00374, allocations: 256 / 271.4 MB, free: 2.906 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.618e-05/0.003756, allocations: 8.859 kB / 271.4 MB, free: 2.895 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.003758, allocations: 4 kB / 271.4 MB, free: 2.891 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.228e-05/0.003791, allocations: 37.69 kB / 271.5 MB, free: 2.848 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.003799, allocations: 4 kB / 271.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.003802, allocations: 0 / 271.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.003813, allocations: 0 / 271.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.321e-05/0.003847, allocations: 4 kB / 271.5 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.003849, allocations: 4.094 kB / 271.5 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-06/0.003856, allocations: 3.938 kB / 271.5 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-06/0.003859, allocations: 4 kB / 271.5 MB, free: 2.828 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.857e-05/0.003908, allocations: 113.8 kB / 271.6 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.003933, allocations: 37.69 kB / 271.6 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.003954, allocations: 11.98 kB / 271.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.003956, allocations: 240 / 271.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.003957, allocations: 0 / 271.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.003961, allocations: 3.984 kB / 271.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.071e-05/0.004001, allocations: 69.84 kB / 271.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.004002, allocations: 4 kB / 271.7 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.00403, allocations: 11.98 kB / 271.7 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-07/0.004031, allocations: 0 / 271.7 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-06/0.004034, allocations: 0 / 271.7 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004035, allocations: 0 / 271.7 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.004035, allocations: 0 / 271.7 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.313e-05/0.004068, allocations: 57.02 kB / 271.8 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-06/0.004077, allocations: 11.94 kB / 271.8 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.004091, allocations: 0 / 271.8 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.004101, allocations: 4 kB / 271.8 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-06/0.004104, allocations: 0 / 271.8 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.004106, allocations: 4 kB / 271.8 MB, free: 2.445 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.322e-05/0.004119, allocations: 20.84 kB / 271.8 MB, free: 2.422 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004119, allocations: 3.938 kB / 271.8 MB, free: 2.418 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.575e-05/0.004205, allocations: 4 kB / 271.8 MB, free: 2.414 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.244e-05/0.004267, allocations: 80.41 kB / 271.9 MB, free: 2.328 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.588e-05/0.004313, allocations: 16.8 kB / 271.9 MB, free: 2.309 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.004315, allocations: 0 / 271.9 MB, free: 2.309 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.004315, allocations: 0 / 271.9 MB, free: 2.309 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.004419, allocations: 25.36 kB / 272 MB, free: 2.281 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001563/0.004575, allocations: 119.2 kB / 272.1 MB, free: 2.141 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.549e-05/0.004601, allocations: 59.34 kB / 272.1 MB, free: 2.062 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.071e-05/0.004611, allocations: 0 / 272.1 MB, free: 2.062 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.004643, allocations: 51.38 kB / 272.2 MB, free: 2.012 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.004644, allocations: 0 / 272.2 MB, free: 2.012 MB / 250.7 MB Notification: Performance of Templates: time 0.001587/0.006231, allocations: 487.7 kB / 272.7 MB, free: 1.543 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.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.3548566550016403]