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.002462/0.002462, allocations: 99.53 kB / 20.96 MB, free: 3.449 MB / 18.57 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.002829/0.002829, allocations: 164.8 kB / 24.27 MB, free: 148 kB / 18.57 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.594/1.594, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 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 1.593e-06/1.593e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.116e-05, allocations: 2.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002932/0.002964, allocations: 1.458 MB / 273.6 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002068/0.00317, allocations: 31.91 kB / 273.7 MB, free: 336 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.003227, allocations: 3.938 kB / 273.7 MB, free: 332 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.003249, allocations: 0 / 273.7 MB, free: 332 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.317e-05/0.003292, allocations: 3.938 kB / 273.7 MB, free: 328 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.003543, allocations: 27.91 kB / 273.7 MB, free: 300 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.245e-05/0.003635, allocations: 31.86 kB / 273.7 MB, free: 268 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.003723, allocations: 12 kB / 273.8 MB, free: 256 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.003782, allocations: 15.97 kB / 273.8 MB, free: 240 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.003823, allocations: 7.984 kB / 273.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.003845, allocations: 4 kB / 273.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.003858, allocations: 4 kB / 273.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.003876, allocations: 7.938 kB / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.003908, allocations: 11.98 kB / 273.8 MB, free: 204 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.00402, allocations: 31.89 kB / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004022, allocations: 0 / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004023, allocations: 0 / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.004027, allocations: 3.938 kB / 273.8 MB, free: 168 kB / 250.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.000528/0.004555, allocations: 376.2 kB / 274.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.004594, allocations: 11.98 kB / 274.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.004637, allocations: 8.891 kB / 274.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.004823, allocations: 116.6 kB / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.004844, allocations: 4.375 kB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.004855, allocations: 4.375 kB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.005208, allocations: 113.5 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.00522, allocations: 12.16 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005228, allocations: 384 / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.005232, allocations: 384 / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.881e-05/0.005331, allocations: 23.86 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.005483, allocations: 112.6 kB / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.00565, allocations: 59.03 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.005727, allocations: 23.72 kB / 274.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.005739, allocations: 0 / 274.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.005776, allocations: 41.36 kB / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.005777, allocations: 4 kB / 274.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002763/0.006053, allocations: 77.56 kB / 274.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.006116, allocations: 59.41 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.006261, allocations: 173.9 kB / 275 MB, free: 14.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.006282, allocations: 29.7 kB / 275.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.006364, allocations: 130.9 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-06/0.006373, allocations: 0 / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.006412, allocations: 23.38 kB / 275.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005458/0.006958, allocations: 492.1 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.006976, allocations: 11.98 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.006981, allocations: 0 / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.007014, allocations: 19.69 kB / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.007016, allocations: 0 / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.796e-05/0.007084, allocations: 45.66 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.007097, allocations: 4 kB / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.0071, allocations: 0 / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.007112, allocations: 0 / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.595e-05/0.007158, allocations: 4 kB / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007163, allocations: 0 / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.007182, allocations: 7.922 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-06/0.007185, allocations: 0 / 275.8 MB, free: 14 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 0.0001212/0.007306, allocations: 164.6 kB / 275.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.007444, allocations: 57.62 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.007471, allocations: 8 kB / 276 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.007472, allocations: 0 / 276 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.00748, allocations: 3.984 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.007485, allocations: 7.938 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.007595, allocations: 116.6 kB / 276.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007596, allocations: 0 / 276.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.007654, allocations: 15.92 kB / 276.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.007656, allocations: 0 / 276.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.007663, allocations: 0 / 276.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007664, allocations: 4 kB / 276.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.007665, allocations: 0 / 276.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.007876, allocations: 112.5 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.007886, allocations: 4 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.007902, allocations: 4 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.432e-05/0.007926, allocations: 0 / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-06/0.007928, allocations: 0 / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.007936, allocations: 4.25 kB / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.73e-05/0.008023, allocations: 135.2 kB / 276.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008023, allocations: 0 / 276.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.008194, allocations: 4 kB / 276.4 MB, free: 13.3 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 0.0001201/0.008314, allocations: 107.2 kB / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.008441, allocations: 23.67 kB / 276.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008443, allocations: 0 / 276.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.008443, allocations: 0 / 276.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.008735, allocations: 37.34 kB / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.009038, allocations: 124.7 kB / 276.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.73e-05/0.009106, allocations: 63.34 kB / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.79e-05/0.009124, allocations: 4.062 kB / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.00916, allocations: 16.48 kB / 276.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.009161, allocations: 0 / 276.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of Templates: time 0.00308/0.01224, allocations: 446.9 kB / 277.2 MB, free: 12.43 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/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: 4.506880935980007]