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.001297/0.001297, allocations: 124.5 kB / 18.46 MB, free: 4.598 MB / 14.72 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.001276/0.001276, allocations: 190.6 kB / 21.4 MB, free: 1.664 MB / 14.72 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.383/1.383, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001487/0.001487, allocations: 47.92 kB / 366.8 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09191, allocations: 52.14 MB / 418.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002578/0.09448, allocations: 1.429 MB / 420.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.09465, allocations: 35.84 kB / 420.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.09471, allocations: 0 / 420.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.09474, allocations: 3.938 kB / 420.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.852e-05/0.09477, allocations: 0 / 420.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.095, allocations: 27.91 kB / 420.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.09508, allocations: 27.92 kB / 420.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.09518, allocations: 15.92 kB / 420.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.759e-05/0.09521, allocations: 11.94 kB / 420.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.09526, allocations: 15.92 kB / 420.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.09527, allocations: 4 kB / 420.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-06/0.09528, allocations: 4 kB / 420.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.0953, allocations: 7.984 kB / 420.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.09533, allocations: 7.938 kB / 420.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.965e-05/0.09542, allocations: 43.7 kB / 420.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.09542, allocations: 0 / 420.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09542, allocations: 0 / 420.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.09543, allocations: 0 / 420.6 MB, free: 10.56 MB / 350.1 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.0004743/0.0959, allocations: 343.4 kB / 420.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.09594, allocations: 11.89 kB / 420.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.09597, allocations: 12.94 kB / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.09618, allocations: 180.2 kB / 421.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.09621, allocations: 4.375 kB / 421.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.09622, allocations: 4.375 kB / 421.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.09656, allocations: 115.8 kB / 421.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.09657, allocations: 4.125 kB / 421.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.09658, allocations: 7.938 kB / 421.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.09659, allocations: 4 kB / 421.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.09671, allocations: 27.95 kB / 421.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.09687, allocations: 157.7 kB / 421.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.09704, allocations: 50.58 kB / 421.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.09713, allocations: 24.89 kB / 421.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.09714, allocations: 0 / 421.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.09717, allocations: 38.56 kB / 421.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.09717, allocations: 3.938 kB / 421.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002861/0.09746, allocations: 85.55 kB / 421.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.09752, allocations: 51.41 kB / 421.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.09761, allocations: 105.8 kB / 421.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.09762, allocations: 25.7 kB / 421.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.09767, allocations: 92.08 kB / 421.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.09769, allocations: 3.984 kB / 421.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.09772, allocations: 21.72 kB / 421.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.09786, allocations: 310.8 kB / 422.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.09788, allocations: 11.98 kB / 422.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.09791, allocations: 31.38 kB / 422.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.09796, allocations: 35.44 kB / 422.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.09796, allocations: 384 / 422.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.695e-05/0.09806, allocations: 65.52 kB / 422.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.09807, allocations: 11.94 kB / 422.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.09808, allocations: 3.938 kB / 422.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.09809, allocations: 0 / 422.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.09815, allocations: 12 kB / 422.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.09815, allocations: 8.109 kB / 422.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.09818, allocations: 4 kB / 422.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.09818, allocations: 4 kB / 422.4 MB, free: 8.469 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.256e-05/0.09826, allocations: 113.8 kB / 422.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.09843, allocations: 65.67 kB / 422.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.09845, allocations: 7.844 kB / 422.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.09846, allocations: 0 / 422.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.09846, allocations: 0 / 422.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.09846, allocations: 0 / 422.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.09859, allocations: 161.7 kB / 422.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.09859, allocations: 0 / 422.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.09865, allocations: 8 kB / 422.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.09865, allocations: 3.984 kB / 422.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.09866, allocations: 11.94 kB / 422.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.09866, allocations: 0 / 422.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.09866, allocations: 0 / 422.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.09885, allocations: 93.23 kB / 422.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.09891, allocations: 89.08 kB / 422.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.09893, allocations: 7.938 kB / 423 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.09896, allocations: 3.984 kB / 423 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-06/0.09896, allocations: 0 / 423 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.09897, allocations: 4 kB / 423 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.879e-05/0.09902, allocations: 83.28 kB / 423 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09902, allocations: 0 / 423 MB, free: 7.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.09921, allocations: 4 kB / 423.1 MB, free: 7.715 MB / 350.1 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.0001159/0.09932, allocations: 107.2 kB / 423.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.09946, allocations: 31.92 kB / 423.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.09946, allocations: 0 / 423.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.09946, allocations: 0 / 423.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.09975, allocations: 32 kB / 423.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.1001, allocations: 143.2 kB / 423.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1004, allocations: 0.6805 MB / 424 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.1004, allocations: 19.62 kB / 424.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1004, allocations: 3.938 kB / 424.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of Templates: time 0.002071/0.1025, allocations: 0.6305 MB / 424.7 MB, free: 6.008 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.214778498979285]