Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001986/0.001986, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002625/0.002625, allocations: 219.5 kB / 24.48 MB, free: 3.836 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.571/1.571, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 72.02 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2382, allocations: 53.4 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003339/0.2415, allocations: 1.454 MB / 433.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003296/0.2418, allocations: 91.64 kB / 433.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.2419, allocations: 0 / 433.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.2419, allocations: 7.938 kB / 433.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.242, allocations: 7.922 kB / 433.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.2423, allocations: 23.98 kB / 434 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.2423, allocations: 23.92 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2425, allocations: 11.98 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.54e-05/0.2425, allocations: 15.92 kB / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.2425, allocations: 7.938 kB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.2426, allocations: 0 / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.2426, allocations: 4 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.2426, allocations: 7.984 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.2426, allocations: 7.938 kB / 434 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.2427, allocations: 38.73 kB / 434.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2427, allocations: 0 / 434.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2427, allocations: 0 / 434.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2427, allocations: 4 kB / 434.1 MB, free: 4.984 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.0004727/0.2432, allocations: 274.2 kB / 434.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2433, allocations: 11.98 kB / 434.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.2433, allocations: 4.891 kB / 434.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.2435, allocations: 126.5 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2435, allocations: 384 / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.2436, allocations: 4.375 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.2439, allocations: 111.9 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2439, allocations: 192 / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2439, allocations: 3.938 kB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2439, allocations: 0 / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.646e-05/0.244, allocations: 19.98 kB / 434.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.2442, allocations: 109.2 kB / 434.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.2443, allocations: 54.48 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.2444, allocations: 28.92 kB / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2444, allocations: 0 / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.2445, allocations: 30.56 kB / 434.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2445, allocations: 0 / 434.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002324/0.2447, allocations: 77.55 kB / 434.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.2447, allocations: 55.41 kB / 435 MB, free: 3.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.2448, allocations: 105.8 kB / 435.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2449, allocations: 25.7 kB / 435.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.2449, allocations: 84.14 kB / 435.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.2449, allocations: 8 kB / 435.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.2449, allocations: 13.72 kB / 435.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2451, allocations: 318.8 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.2451, allocations: 4 kB / 435.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.2451, allocations: 27.44 kB / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.2452, allocations: 35.38 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2452, allocations: 3.938 kB / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.634e-05/0.2453, allocations: 61.58 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2453, allocations: 4 kB / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2453, allocations: 0 / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2453, allocations: 11.88 kB / 435.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.2454, allocations: 7.984 kB / 435.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2454, allocations: 4 kB / 435.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.2454, allocations: 0 / 435.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.2454, allocations: 0 / 435.7 MB, free: 3.188 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.681e-05/0.2455, allocations: 117.8 kB / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2456, allocations: 58.06 kB / 435.8 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.2456, allocations: 11.98 kB / 435.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2456, allocations: 7.875 kB / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2456, allocations: 4 kB / 435.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2456, allocations: 0 / 435.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.807e-05/0.2457, allocations: 101.3 kB / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2457, allocations: 0 / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.2458, allocations: 8 kB / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2458, allocations: 0 / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2458, allocations: 0 / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2458, allocations: 4 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2458, allocations: 7.938 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.2459, allocations: 85.39 kB / 436.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.246, allocations: 4 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.246, allocations: 4.047 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.588e-05/0.246, allocations: 7.969 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-06/0.246, allocations: 3.938 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.246, allocations: 0 / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.2461, allocations: 87.28 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2461, allocations: 3.938 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001802/0.2462, allocations: 8 kB / 436.2 MB, free: 2.602 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001155/0.2464, allocations: 91.25 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.2465, allocations: 23.98 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2465, allocations: 0 / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2465, allocations: 0 / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.2467, allocations: 27.86 kB / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.247, allocations: 147.5 kB / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.578e-05/0.2471, allocations: 67.34 kB / 436.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.2471, allocations: 11.44 kB / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2471, allocations: 0 / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of Templates: time 0.002135/0.2492, allocations: 0.562 MB / 437.1 MB, free: 1.621 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.706949633080512]