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.000969/0.000969, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001791/0.001791, allocations: 135.3 kB / 25.59 MB, free: 8.883 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.9429/0.9429, allocations: 173.4 MB / 202.3 MB, free: 7.848 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.452e-06/1.452e-06, allocations: 0 / 269.2 MB, free: 9.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.71e-05, allocations: 2.312 kB / 269.2 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001942/0.001969, allocations: 1.463 MB / 270.7 MB, free: 8.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00017/0.002139, allocations: 40.44 kB / 270.7 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.002198, allocations: 0.6875 kB / 270.7 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.002224, allocations: 3.938 kB / 270.7 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.684e-05/0.002261, allocations: 5.656 kB / 270.7 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.002465, allocations: 23.91 kB / 270.7 MB, free: 8.199 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.002541, allocations: 31.86 kB / 270.8 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.002624, allocations: 7.984 kB / 270.8 MB, free: 8.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.002671, allocations: 21.27 kB / 270.8 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.266e-05/0.002704, allocations: 3.984 kB / 270.8 MB, free: 8.137 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.002721, allocations: 4 kB / 270.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.002728, allocations: 4 kB / 270.8 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.002748, allocations: 8.781 kB / 270.8 MB, free: 8.121 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.002765, allocations: 11.98 kB / 270.8 MB, free: 8.109 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.363e-05/0.002839, allocations: 28.78 kB / 270.8 MB, free: 8.082 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002841, allocations: 0 / 270.8 MB, free: 8.082 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.002844, allocations: 4 kB / 270.9 MB, free: 8.078 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.002847, allocations: 0.75 kB / 270.9 MB, free: 8.078 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.0002933/0.003141, allocations: 368.6 kB / 271.2 MB, free: 7.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.003174, allocations: 8.719 kB / 271.2 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.003201, allocations: 5.5 kB / 271.2 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.003335, allocations: 125.4 kB / 271.3 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.003352, allocations: 4.375 kB / 271.4 MB, free: 7.516 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.003359, allocations: 2.812 kB / 271.4 MB, free: 7.516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.003526, allocations: 106.2 kB / 271.5 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.003533, allocations: 192 / 271.5 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.00354, allocations: 4.375 kB / 271.5 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.003546, allocations: 384 / 271.5 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.834e-05/0.003565, allocations: 8.906 kB / 271.5 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.928e-05/0.003644, allocations: 105.2 kB / 271.6 MB, free: 7.254 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.487e-05/0.003699, allocations: 31.56 kB / 271.6 MB, free: 7.211 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.003726, allocations: 24.72 kB / 271.6 MB, free: 7.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.003732, allocations: 0 / 271.6 MB, free: 7.184 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.003751, allocations: 37.33 kB / 271.7 MB, free: 7.137 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.11e-07/0.003752, allocations: 5.5 kB / 271.7 MB, free: 7.133 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001062/0.003858, allocations: 57.56 kB / 271.7 MB, free: 7.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.003899, allocations: 55.41 kB / 271.8 MB, free: 7.004 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.003968, allocations: 161.9 kB / 271.9 MB, free: 6.828 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.003976, allocations: 29.7 kB / 272 MB, free: 6.793 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.004015, allocations: 134.9 kB / 272.1 MB, free: 6.656 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-06/0.004024, allocations: 3.984 kB / 272.1 MB, free: 6.652 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.004046, allocations: 19.38 kB / 272.1 MB, free: 6.625 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.004147, allocations: 0.4883 MB / 272.6 MB, free: 6.125 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-06/0.004152, allocations: 0 / 272.6 MB, free: 6.125 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/0.004159, allocations: 7.938 kB / 272.6 MB, free: 6.117 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.004183, allocations: 7.688 kB / 272.6 MB, free: 6.105 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004185, allocations: 4 kB / 272.6 MB, free: 6.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.154e-05/0.004226, allocations: 41.72 kB / 272.7 MB, free: 6.055 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.00424, allocations: 4 kB / 272.7 MB, free: 6.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.004247, allocations: 3.984 kB / 272.7 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.004258, allocations: 0 / 272.7 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.63e-05/0.004294, allocations: 4 kB / 272.7 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004297, allocations: 0 / 272.7 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.02e-05/0.004307, allocations: 4 kB / 272.7 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.00431, allocations: 3.938 kB / 272.7 MB, free: 6.035 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 5.903e-05/0.004369, allocations: 160.5 kB / 272.9 MB, free: 5.867 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.004405, allocations: 45.69 kB / 272.9 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.004428, allocations: 8.031 kB / 272.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.004429, allocations: 256 / 272.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.004431, allocations: 0 / 272.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.004435, allocations: 4 kB / 272.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.231e-05/0.004487, allocations: 105.2 kB / 273 MB, free: 5.668 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.004488, allocations: 0 / 273 MB, free: 5.668 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.004519, allocations: 8 kB / 273 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.004519, allocations: 0 / 273 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.004524, allocations: 7.938 kB / 273 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.004525, allocations: 0 / 273 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.004525, allocations: 0 / 273 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.072e-05/0.004566, allocations: 84.31 kB / 273.1 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.004572, allocations: 3.953 kB / 273.1 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.004583, allocations: 0 / 273.1 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.108e-05/0.004594, allocations: 4 kB / 273.1 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-06/0.004597, allocations: 0 / 273.1 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.004599, allocations: 0 / 273.1 MB, free: 5.539 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.255e-05/0.004631, allocations: 127.2 kB / 273.2 MB, free: 5.414 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004631, allocations: 0 / 273.2 MB, free: 5.414 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001129/0.004744, allocations: 8 kB / 273.2 MB, free: 5.406 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.308e-05/0.004807, allocations: 99.25 kB / 273.3 MB, free: 5.301 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.591e-05/0.004873, allocations: 19.67 kB / 273.4 MB, free: 5.277 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.004874, allocations: 0 / 273.4 MB, free: 5.277 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.004875, allocations: 3.938 kB / 273.4 MB, free: 5.273 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.005034, allocations: 21.38 kB / 273.4 MB, free: 5.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001658/0.0052, allocations: 116.8 kB / 273.5 MB, free: 5.109 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.514e-05/0.005225, allocations: 59.34 kB / 273.6 MB, free: 5.031 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.484e-05/0.00524, allocations: 4 kB / 273.6 MB, free: 5.027 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.005276, allocations: 70.2 kB / 273.6 MB, free: 4.957 MB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005276, allocations: 4.062 kB / 273.6 MB, free: 4.953 MB / 250.7 MB Notification: Performance of Templates: time 0.001683/0.006959, allocations: 485.4 kB / 274.1 MB, free: 4.492 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.7511411369778216]