Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 79.59 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.078/1.078, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.926e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002664/0.002694, allocations: 1.486 MB / 274.5 MB, free: 56 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002338/0.002927, allocations: 31.91 kB / 274.5 MB, free: 24 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.863e-05/0.002996, allocations: 3.938 kB / 274.5 MB, free: 20 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.003028, allocations: 0 / 274.5 MB, free: 20 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.229e-05/0.00307, allocations: 3.938 kB / 274.5 MB, free: 16 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.003458, allocations: 27.91 kB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.814e-05/0.003556, allocations: 27.92 kB / 274.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.003683, allocations: 8 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.042e-05/0.003744, allocations: 19.91 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.003789, allocations: 11.98 kB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.003817, allocations: 4 kB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.003829, allocations: 4 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.003855, allocations: 7.938 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.003892, allocations: 8 kB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.003997, allocations: 19.91 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.004, allocations: 0 / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.004001, allocations: 0 / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.004006, allocations: 3.938 kB / 274.6 MB, free: 15.88 MB / 266.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.0004173/0.004424, allocations: 372.6 kB / 275 MB, free: 15.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.004471, allocations: 8.031 kB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.004516, allocations: 12.89 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.004702, allocations: 120.6 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.004725, allocations: 384 / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.004738, allocations: 4.375 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.005007, allocations: 110.2 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.005016, allocations: 192 / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.005026, allocations: 384 / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.005036, allocations: 4.375 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.314e-05/0.005069, allocations: 19.86 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.005184, allocations: 120.5 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.29e-05/0.005267, allocations: 43.03 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.005305, allocations: 19.72 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.005316, allocations: 4.031 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.005344, allocations: 37.39 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.005345, allocations: 0 / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001616/0.005506, allocations: 53.62 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.005553, allocations: 51.41 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.005635, allocations: 170 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.005648, allocations: 29.7 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.005698, allocations: 134.9 kB / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.005713, allocations: 7.938 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.005745, allocations: 15.38 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.005889, allocations: 0.4923 MB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.005903, allocations: 0 / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.005912, allocations: 8.062 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.063e-05/0.005943, allocations: 11.62 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.005946, allocations: 0 / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.631e-05/0.006012, allocations: 45.72 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.006028, allocations: 8 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.006034, allocations: 0 / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.006053, allocations: 0 / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.006123, allocations: 7.984 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.00613, allocations: 0 / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.006142, allocations: 3.938 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.006147, allocations: 0 / 276.5 MB, free: 13.77 MB / 266.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 7.745e-05/0.006224, allocations: 156.6 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.006278, allocations: 49.62 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.006308, allocations: 12.03 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006311, allocations: 0 / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.006316, allocations: 0 / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.006321, allocations: 3.938 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.329e-05/0.006384, allocations: 120.6 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.006384, allocations: 0 / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.006434, allocations: 8 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006435, allocations: 0 / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.006443, allocations: 0 / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006444, allocations: 4 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.006445, allocations: 0 / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.305e-05/0.006538, allocations: 92.3 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.00655, allocations: 8.281 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.006566, allocations: 3.938 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.161e-05/0.006578, allocations: 4 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-06/0.006582, allocations: 0 / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.006587, allocations: 7.984 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.244e-05/0.006639, allocations: 131.2 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006639, allocations: 0 / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001252/0.006764, allocations: 4 kB / 277.1 MB, free: 13.1 MB / 266.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 0.0001042/0.006869, allocations: 99.19 kB / 277.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.653e-05/0.006965, allocations: 23.69 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006967, allocations: 0 / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.006967, allocations: 0 / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.007179, allocations: 25.36 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.007474, allocations: 120.8 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.834e-05/0.007512, allocations: 59.34 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.019e-05/0.007532, allocations: 0 / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.007564, allocations: 8.5 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of SimCode: time 1.423e-06/0.007565, allocations: 0 / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Templates: time 0.00239/0.009955, allocations: 451.8 kB / 277.9 MB, free: 12.27 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.1251659388653934]