Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.5 MB / 258.1 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.91 kB / 379 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2533, allocations: 53.41 MB / 432.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002747/0.2561, allocations: 1.445 MB / 433.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001851/0.2563, allocations: 35.84 kB / 433.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.2563, allocations: 4 kB / 433.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.2564, allocations: 3.938 kB / 433.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.117e-05/0.2564, allocations: 0 / 433.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2566, allocations: 23.05 kB / 433.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.195e-05/0.2567, allocations: 35.91 kB / 433.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2568, allocations: 7.922 kB / 433.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.2569, allocations: 12 kB / 433.9 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.2569, allocations: 15.86 kB / 434 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2569, allocations: 4 kB / 434 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.2569, allocations: 8 kB / 434 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.257, allocations: 0 / 434 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.257, allocations: 15.92 kB / 434 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.213e-05/0.2571, allocations: 34.84 kB / 434 MB, free: 4.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2571, allocations: 0 / 434 MB, free: 4.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2571, allocations: 0 / 434 MB, free: 4.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2571, allocations: 0 / 434 MB, free: 4.867 MB / 334.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.0004027/0.2575, allocations: 266 kB / 434.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2575, allocations: 11.98 kB / 434.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.2576, allocations: 8.891 kB / 434.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.2578, allocations: 122.5 kB / 434.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.2578, allocations: 4.375 kB / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.2578, allocations: 384 / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.2582, allocations: 127.8 kB / 434.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2582, allocations: 192 / 434.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.2582, allocations: 3.938 kB / 434.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2582, allocations: 7.938 kB / 434.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.2583, allocations: 27.97 kB / 434.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.2584, allocations: 109.3 kB / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.2586, allocations: 58.55 kB / 434.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.2586, allocations: 24.92 kB / 434.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.2586, allocations: 3.938 kB / 434.8 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.2587, allocations: 30.56 kB / 434.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2587, allocations: 4 kB / 434.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002575/0.2589, allocations: 81.58 kB / 434.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.259, allocations: 59.41 kB / 435 MB, free: 3.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.2591, allocations: 105.8 kB / 435.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.2591, allocations: 25.7 kB / 435.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.2591, allocations: 80.14 kB / 435.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.2591, allocations: 12 kB / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.2592, allocations: 17.7 kB / 435.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2593, allocations: 314.8 kB / 435.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.2593, allocations: 7.938 kB / 435.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.2593, allocations: 31.42 kB / 435.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.748e-05/0.2594, allocations: 35.38 kB / 435.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2594, allocations: 4 kB / 435.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.801e-05/0.2595, allocations: 65.58 kB / 435.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2595, allocations: 8 kB / 435.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2595, allocations: 0 / 435.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2595, allocations: 3.938 kB / 435.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.2596, allocations: 11.94 kB / 435.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.2596, allocations: 0 / 435.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.2596, allocations: 7.938 kB / 435.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.2596, allocations: 0 / 435.7 MB, free: 3.02 MB / 334.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.449e-05/0.2597, allocations: 121.9 kB / 435.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.2598, allocations: 69.61 kB / 435.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.2599, allocations: 8 kB / 435.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.2599, allocations: 3.938 kB / 435.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2599, allocations: 0 / 435.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2599, allocations: 4 kB / 435.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.596e-05/0.26, allocations: 97.31 kB / 436 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.26, allocations: 4 kB / 436 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.26, allocations: 8 kB / 436 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.26, allocations: 4 kB / 436 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.26, allocations: 4.312 kB / 436 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.26, allocations: 4 kB / 436 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.26, allocations: 11.92 kB / 436 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.2602, allocations: 89.05 kB / 436.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.2602, allocations: 7.953 kB / 436.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.2602, allocations: 0 / 436.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.306e-05/0.2603, allocations: 7.984 kB / 436.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-06/0.2603, allocations: 3.938 kB / 436.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.2603, allocations: 0 / 436.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.851e-05/0.2603, allocations: 83.28 kB / 436.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2603, allocations: 4 kB / 436.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001827/0.2605, allocations: 4 kB / 436.2 MB, free: 2.418 MB / 334.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.0001014/0.2606, allocations: 95.25 kB / 436.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.2607, allocations: 39.91 kB / 436.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2607, allocations: 0 / 436.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2607, allocations: 0 / 436.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.261, allocations: 26.77 kB / 436.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.2613, allocations: 147.2 kB / 436.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.011e-05/0.2614, allocations: 75.52 kB / 436.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.2614, allocations: 11.44 kB / 436.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2614, allocations: 0 / 436.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of Templates: time 0.001956/0.2634, allocations: 0.624 MB / 437.2 MB, free: 1.352 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.68141949409619]