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.001003/0.001003, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.000984/0.000984, allocations: 151.4 kB / 24.81 MB, free: 9.281 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 1.032/1.032, allocations: 173.4 MB / 201.4 MB, free: 9.211 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.643e-06/1.643e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.924e-05, allocations: 6.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002284/0.002313, allocations: 1.467 MB / 269.9 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002032/0.002516, allocations: 31.91 kB / 269.9 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.002584, allocations: 0 / 269.9 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.002615, allocations: 7.938 kB / 269.9 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.002661, allocations: 3.938 kB / 269.9 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.002907, allocations: 19.92 kB / 269.9 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.002988, allocations: 31.91 kB / 270 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.003085, allocations: 8 kB / 270 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.003148, allocations: 15.92 kB / 270 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.003194, allocations: 11.98 kB / 270 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.003216, allocations: 4 kB / 270 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.003224, allocations: 0 / 270 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.003248, allocations: 11.92 kB / 270 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.003271, allocations: 7.984 kB / 270 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.966e-05/0.00337, allocations: 27.92 kB / 270.1 MB, free: 4.543 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.003373, allocations: 0 / 270.1 MB, free: 4.543 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.003374, allocations: 0 / 270.1 MB, free: 4.543 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003378, allocations: 0 / 270.1 MB, free: 4.543 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.0003534/0.003731, allocations: 368.6 kB / 270.4 MB, free: 4.145 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.003769, allocations: 12.02 kB / 270.4 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.003796, allocations: 4.938 kB / 270.4 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.003939, allocations: 120.5 kB / 270.5 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.003957, allocations: 8.359 kB / 270.6 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.003966, allocations: 4.375 kB / 270.6 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.004163, allocations: 110.2 kB / 270.7 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.00417, allocations: 192 / 270.7 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.004178, allocations: 4.375 kB / 270.7 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.004182, allocations: 384 / 270.7 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.004202, allocations: 7.938 kB / 270.7 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.206e-05/0.004294, allocations: 97.19 kB / 270.8 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.16e-05/0.004355, allocations: 46.98 kB / 270.8 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.004377, allocations: 15.75 kB / 270.8 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.004385, allocations: 8 kB / 270.8 MB, free: 3.629 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.004404, allocations: 33.39 kB / 270.9 MB, free: 3.586 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.004405, allocations: 0 / 270.9 MB, free: 3.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001143/0.004519, allocations: 57.58 kB / 270.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.004556, allocations: 51.41 kB / 271 MB, free: 3.461 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.004628, allocations: 169.9 kB / 271.1 MB, free: 3.277 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.004638, allocations: 25.7 kB / 271.2 MB, free: 3.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.004677, allocations: 126.9 kB / 271.3 MB, free: 3.117 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.004687, allocations: 7.938 kB / 271.3 MB, free: 3.109 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.004711, allocations: 15.38 kB / 271.3 MB, free: 3.086 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.004834, allocations: 0.5 MB / 271.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.004843, allocations: 0 / 271.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.004849, allocations: 0 / 271.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.004877, allocations: 15.69 kB / 271.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.00488, allocations: 0 / 271.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.715e-05/0.004937, allocations: 41.59 kB / 271.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.00495, allocations: 8 kB / 271.9 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.004955, allocations: 3.984 kB / 271.9 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.004966, allocations: 0 / 271.9 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/0.005012, allocations: 0 / 271.9 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.005015, allocations: 8.094 kB / 271.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.005026, allocations: 256 / 271.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.005031, allocations: 3.938 kB / 271.9 MB, free: 2.484 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 9.807e-05/0.005129, allocations: 156.6 kB / 272.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.005181, allocations: 45.69 kB / 272.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.00521, allocations: 12 kB / 272.1 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.005213, allocations: 0 / 272.1 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.005215, allocations: 0 / 272.1 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005218, allocations: 3.938 kB / 272.1 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.601e-05/0.005284, allocations: 105.4 kB / 272.2 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.005285, allocations: 4 kB / 272.2 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.005331, allocations: 8 kB / 272.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005333, allocations: 0 / 272.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.005338, allocations: 3.984 kB / 272.2 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.00534, allocations: 0 / 272.2 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.005341, allocations: 0 / 272.2 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.658e-05/0.005388, allocations: 72.33 kB / 272.3 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-06/0.005396, allocations: 4 kB / 272.3 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.00541, allocations: 7.938 kB / 272.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.005422, allocations: 4 kB / 272.3 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-06/0.005425, allocations: 0 / 272.3 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.005427, allocations: 4 kB / 272.3 MB, free: 1.988 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.516e-05/0.005472, allocations: 131.2 kB / 272.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005472, allocations: 0 / 272.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001168/0.005589, allocations: 4 kB / 272.5 MB, free: 1.855 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 9.955e-05/0.005689, allocations: 99.19 kB / 272.6 MB, free: 1.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.612e-05/0.005765, allocations: 23.67 kB / 272.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.005767, allocations: 0 / 272.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.005768, allocations: 0 / 272.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.00597, allocations: 24.34 kB / 272.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.00619, allocations: 124.8 kB / 272.7 MB, free: 1.551 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.00622, allocations: 59.34 kB / 272.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.751e-05/0.006238, allocations: 0 / 272.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.006283, allocations: 74.19 kB / 272.9 MB, free: 1.398 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006283, allocations: 0 / 272.9 MB, free: 1.398 MB / 250.7 MB Notification: Performance of Templates: time 0.002049/0.008332, allocations: 479.6 kB / 273.3 MB, free: 0.9375 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.5750532019883394]