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.0007776/0.0007776, allocations: 84 kB / 21.43 MB, free: 3.121 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.003142/0.003142, allocations: 148.2 kB / 24.69 MB, free: 9.438 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.8019/0.8019, allocations: 173.4 MB / 201.2 MB, free: 9.449 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.913e-06/1.913e-06, allocations: 0 / 319.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.378e-05, allocations: 2.281 kB / 319.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001988/0.002012, allocations: 1.433 MB / 321.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001827/0.002194, allocations: 27.84 kB / 321.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.002268, allocations: 4 kB / 321.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.002301, allocations: 3.938 kB / 321.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.002343, allocations: 7.875 kB / 321.2 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.002632, allocations: 27.91 kB / 321.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.178e-05/0.002724, allocations: 27.92 kB / 321.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.002821, allocations: 7.984 kB / 321.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.002867, allocations: 19.97 kB / 321.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.002901, allocations: 15.94 kB / 321.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.002924, allocations: 0 / 321.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.083e-06/0.002931, allocations: 4 kB / 321.3 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.002946, allocations: 3.984 kB / 321.3 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.002968, allocations: 11.94 kB / 321.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.019e-05/0.003048, allocations: 27.95 kB / 321.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003049, allocations: 0 / 321.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.003051, allocations: 3.984 kB / 321.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.003055, allocations: 0 / 321.3 MB, free: 4.242 MB / 282.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.000305/0.00336, allocations: 270.2 kB / 321.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.003391, allocations: 12.03 kB / 321.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.003419, allocations: 8.922 kB / 321.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.003559, allocations: 121.6 kB / 321.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.003575, allocations: 384 / 321.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.003586, allocations: 12.36 kB / 321.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.003805, allocations: 115.8 kB / 321.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.003811, allocations: 4.188 kB / 321.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.003819, allocations: 384 / 321.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.003823, allocations: 384 / 321.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.596e-05/0.003889, allocations: 35.91 kB / 321.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.873e-05/0.003977, allocations: 105.2 kB / 322 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.817e-05/0.004075, allocations: 58.47 kB / 322 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.004117, allocations: 24.92 kB / 322.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.004126, allocations: 0 / 322.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.004144, allocations: 34.56 kB / 322.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.004145, allocations: 0 / 322.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001755/0.004321, allocations: 85.55 kB / 322.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.004362, allocations: 55.41 kB / 322.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.004417, allocations: 109.8 kB / 322.3 MB, free: 3.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.004425, allocations: 29.7 kB / 322.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.004455, allocations: 88.14 kB / 322.4 MB, free: 2.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.004465, allocations: 0 / 322.4 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.004489, allocations: 13.72 kB / 322.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.004563, allocations: 318.8 kB / 322.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.004572, allocations: 4 kB / 322.8 MB, free: 2.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-06/0.004577, allocations: 4 kB / 322.8 MB, free: 2.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/0.004596, allocations: 8.859 kB / 322.8 MB, free: 2.578 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.004598, allocations: 0 / 322.8 MB, free: 2.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.051e-05/0.004638, allocations: 45.7 kB / 322.8 MB, free: 2.527 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.00465, allocations: 4 kB / 322.8 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.004654, allocations: 0 / 322.8 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.004665, allocations: 0 / 322.8 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/0.004708, allocations: 7.984 kB / 322.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.004713, allocations: 0 / 322.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-06/0.004723, allocations: 11.83 kB / 322.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-06/0.004726, allocations: 4.25 kB / 322.9 MB, free: 2.5 MB / 282.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.327e-05/0.004779, allocations: 113.8 kB / 323 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.004851, allocations: 61.67 kB / 323 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.00487, allocations: 12.03 kB / 323 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.004871, allocations: 0 / 323 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.004875, allocations: 0 / 323 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.004878, allocations: 7.938 kB / 323.1 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.355e-05/0.004921, allocations: 97.31 kB / 323.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004922, allocations: 7.938 kB / 323.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.004951, allocations: 15.98 kB / 323.2 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.004952, allocations: 0 / 323.2 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.004957, allocations: 0 / 323.2 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.004959, allocations: 3.984 kB / 323.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00496, allocations: 0 / 323.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.71e-05/0.005047, allocations: 97 kB / 323.3 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.005055, allocations: 11.98 kB / 323.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.005064, allocations: 0 / 323.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.267e-05/0.005077, allocations: 4 kB / 323.3 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-06/0.005079, allocations: 0 / 323.3 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.005081, allocations: 0 / 323.3 MB, free: 2.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.821e-05/0.00511, allocations: 91.27 kB / 323.4 MB, free: 1.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00511, allocations: 0 / 323.4 MB, free: 1.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001095/0.005219, allocations: 0 / 323.4 MB, free: 1.914 MB / 282.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.716e-05/0.005286, allocations: 103.4 kB / 323.5 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.184e-05/0.005368, allocations: 27.98 kB / 323.5 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.005369, allocations: 0 / 323.5 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.00537, allocations: 0 / 323.5 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.005546, allocations: 31.98 kB / 323.5 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001954/0.005742, allocations: 150.5 kB / 323.7 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.372e-05/0.005776, allocations: 63.34 kB / 323.7 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.005795, allocations: 12.5 kB / 323.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of SimCode: time 2.41e-07/0.005795, allocations: 3.938 kB / 323.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of Templates: time 0.001215/0.00701, allocations: 0.6111 MB / 324.4 MB, free: 0.8633 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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: 3.8970182863995433]