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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001697/0.001697, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002065/0.002065, allocations: 211.2 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 230.2 MB / 256.7 MB, free: 8.648 MB / 206.1 MB [Timeout remaining time 88] 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.00185/0.00185, allocations: 63.89 kB / 376.9 MB, free: 3.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2442, allocations: 53.31 MB / 430.2 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002774/0.247, allocations: 1.437 MB / 431.6 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001688/0.2472, allocations: 27.91 kB / 431.7 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.2472, allocations: 7.938 kB / 431.7 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.2473, allocations: 4 kB / 431.7 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.659e-05/0.2473, allocations: 3.938 kB / 431.7 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2475, allocations: 23.97 kB / 431.7 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.45e-05/0.2476, allocations: 23.92 kB / 431.7 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.2477, allocations: 15.97 kB / 431.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.2477, allocations: 11.94 kB / 431.7 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.2478, allocations: 15.92 kB / 431.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.2478, allocations: 4 kB / 431.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.2478, allocations: 0 / 431.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.2478, allocations: 4 kB / 431.8 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.2479, allocations: 19.88 kB / 431.8 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.511e-05/0.248, allocations: 33.42 kB / 431.8 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.248, allocations: 0 / 431.8 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.248, allocations: 0 / 431.8 MB, free: 5.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.248, allocations: 4 kB / 431.8 MB, free: 5.898 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.0004603/0.2484, allocations: 343 kB / 432.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2485, allocations: 12.03 kB / 432.2 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.2485, allocations: 8.891 kB / 432.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.2487, allocations: 172.4 kB / 432.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.2488, allocations: 4.375 kB / 432.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.2488, allocations: 12.36 kB / 432.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.2491, allocations: 119.8 kB / 432.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.2491, allocations: 192 / 432.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2492, allocations: 7.938 kB / 432.5 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2492, allocations: 4 kB / 432.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.2493, allocations: 19.92 kB / 432.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.2495, allocations: 169.6 kB / 432.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.2496, allocations: 50.55 kB / 432.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.2497, allocations: 24.92 kB / 432.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.2497, allocations: 0 / 432.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.2497, allocations: 34.56 kB / 432.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.2497, allocations: 0 / 432.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002944/0.25, allocations: 93.47 kB / 432.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.2501, allocations: 55.41 kB / 432.9 MB, free: 4.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/0.2502, allocations: 105.8 kB / 433 MB, free: 4.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2502, allocations: 25.7 kB / 433.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.2503, allocations: 84.14 kB / 433.1 MB, free: 4.375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.2503, allocations: 7.938 kB / 433.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.2503, allocations: 17.72 kB / 433.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2505, allocations: 314.8 kB / 433.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.2505, allocations: 8 kB / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.2505, allocations: 35.42 kB / 433.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/0.2506, allocations: 35.38 kB / 433.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2506, allocations: 4 kB / 433.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.003e-05/0.2507, allocations: 57.94 kB / 433.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2507, allocations: 8 kB / 433.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2507, allocations: 3.938 kB / 433.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2507, allocations: 0 / 433.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.2508, allocations: 12 kB / 433.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2508, allocations: 4 kB / 433.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.2508, allocations: 3.938 kB / 433.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2508, allocations: 16.05 kB / 433.7 MB, free: 3.812 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.292e-05/0.2509, allocations: 109.8 kB / 433.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.251, allocations: 73.56 kB / 433.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.2511, allocations: 7.844 kB / 433.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2511, allocations: 0 / 433.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2511, allocations: 0 / 433.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2511, allocations: 4.234 kB / 433.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.2512, allocations: 157.7 kB / 434 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2512, allocations: 0 / 434 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.2513, allocations: 15.98 kB / 434 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2513, allocations: 0 / 434 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2513, allocations: 11.92 kB / 434 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2513, allocations: 0 / 434 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2513, allocations: 0 / 434 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.2515, allocations: 89.05 kB / 434.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.2515, allocations: 85.06 kB / 434.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.2515, allocations: 3.938 kB / 434.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.2516, allocations: 11.98 kB / 434.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-06/0.2516, allocations: 0 / 434.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.2516, allocations: 3.938 kB / 434.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.2516, allocations: 83.28 kB / 434.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2516, allocations: 0 / 434.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.2518, allocations: 4 kB / 434.3 MB, free: 3.051 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.0001096/0.2519, allocations: 99.23 kB / 434.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.2521, allocations: 32.11 kB / 434.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2521, allocations: 4.062 kB / 434.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-07/0.2521, allocations: 0 / 434.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.2524, allocations: 31.58 kB / 434.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.2527, allocations: 143.2 kB / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.253, allocations: 0.6846 MB / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.2531, allocations: 7.438 kB / 435.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2531, allocations: 0 / 435.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of Templates: time 0.002279/0.2553, allocations: 0.6208 MB / 435.9 MB, free: 1.371 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