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.0009904/0.0009904, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001145/0.001145, allocations: 166.4 kB / 24.82 MB, free: 9.266 MB / 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.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.342e-06/1.342e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.239e-05, allocations: 5.406 kB / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002144/0.002166, allocations: 1.478 MB / 274.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000205/0.002371, allocations: 31.8 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.002445, allocations: 4 kB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.002474, allocations: 7.922 kB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.145e-05/0.002515, allocations: 7.984 kB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.00275, allocations: 15.98 kB / 274.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.177e-05/0.002832, allocations: 35.84 kB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.213e-05/0.002914, allocations: 7.938 kB / 275 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.352e-05/0.002968, allocations: 19.98 kB / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.278e-05/0.003, allocations: 7.984 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.003017, allocations: 0 / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.003025, allocations: 4 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.003043, allocations: 7.938 kB / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.003064, allocations: 7.984 kB / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.786e-05/0.003142, allocations: 23.92 kB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003144, allocations: 4 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003145, allocations: 0 / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.003148, allocations: 0 / 275.1 MB, free: 15.61 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.0002913/0.003439, allocations: 368.6 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.003475, allocations: 12.03 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.003502, allocations: 8.891 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.003628, allocations: 124.5 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.003645, allocations: 4.375 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-06/0.003652, allocations: 384 / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.003823, allocations: 118.1 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.003828, allocations: 192 / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-06/0.003834, allocations: 384 / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.003838, allocations: 384 / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.003858, allocations: 15.92 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.057e-05/0.003939, allocations: 97.22 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.003992, allocations: 39.08 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.004012, allocations: 19.61 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-06/0.004018, allocations: 0 / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.004041, allocations: 53.31 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.004041, allocations: 0 / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001039/0.004145, allocations: 41.73 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.004182, allocations: 63.39 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.251e-05/0.004244, allocations: 161.9 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.004253, allocations: 25.7 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.00429, allocations: 130.9 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-06/0.004298, allocations: 3.938 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.004324, allocations: 23.38 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.004437, allocations: 0.4883 MB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.004445, allocations: 4 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-06/0.004452, allocations: 4 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.085e-05/0.004472, allocations: 15.67 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004474, allocations: 0 / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.799e-05/0.004522, allocations: 37.66 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.004533, allocations: 4 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.004537, allocations: 0 / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.004547, allocations: 0 / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.004592, allocations: 7.938 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.004595, allocations: 0 / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-06/0.004604, allocations: 4.094 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.004608, allocations: 7.938 kB / 276.9 MB, free: 13.55 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 6.963e-05/0.004678, allocations: 160.6 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.004719, allocations: 37.7 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.004744, allocations: 11.98 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.004746, allocations: 0 / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.004748, allocations: 0 / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.00475, allocations: 4 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.884e-05/0.004809, allocations: 97.16 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.00481, allocations: 256 / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.004848, allocations: 23.92 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.004849, allocations: 0 / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.004854, allocations: 4 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.004854, allocations: 0 / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.004855, allocations: 3.938 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.853e-05/0.004903, allocations: 72.39 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-06/0.00491, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.004925, allocations: 7.984 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.004934, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-06/0.004937, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.00494, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.131e-05/0.004981, allocations: 131.2 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004981, allocations: 4 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001124/0.005093, allocations: 4 kB / 277.5 MB, free: 12.93 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 9.158e-05/0.005185, allocations: 99.23 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.354e-05/0.005249, allocations: 19.62 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.00525, allocations: 0 / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.005251, allocations: 0 / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.005428, allocations: 28.62 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.005661, allocations: 120.9 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.005696, allocations: 59.34 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.83e-05/0.005714, allocations: 0 / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.005761, allocations: 74.2 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.005762, allocations: 0 / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of Templates: time 0.001909/0.007671, allocations: 489.3 kB / 278.3 MB, free: 12 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: 2.700765593908727]