Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 168.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9375/0.9375, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.374e-05, allocations: 2.312 kB / 273.4 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00275/0.002773, allocations: 1.48 MB / 274.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001925/0.002966, allocations: 31.84 kB / 275 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.003033, allocations: 4.688 kB / 275 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.00306, allocations: 3.938 kB / 275 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.003102, allocations: 8.547 kB / 275 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.003331, allocations: 23.92 kB / 275 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.003411, allocations: 28.36 kB / 275 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.785e-05/0.003489, allocations: 12.61 kB / 275 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.061e-05/0.00355, allocations: 15.98 kB / 275.1 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.003588, allocations: 12.92 kB / 275.1 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.003609, allocations: 0 / 275.1 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.003619, allocations: 9.75 kB / 275.1 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.003638, allocations: 3.984 kB / 275.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.003659, allocations: 8 kB / 275.1 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.277e-05/0.003742, allocations: 23.91 kB / 275.1 MB, free: 2.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003744, allocations: 0 / 275.1 MB, free: 2.785 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003745, allocations: 0.5938 kB / 275.1 MB, free: 2.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.003748, allocations: 0 / 275.1 MB, free: 2.785 MB / 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.0003029/0.004051, allocations: 245.6 kB / 275.3 MB, free: 2.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.004088, allocations: 10.5 kB / 275.4 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.004123, allocations: 12.88 kB / 275.4 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.004262, allocations: 121.7 kB / 275.5 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.004278, allocations: 384 / 275.5 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.00429, allocations: 4.375 kB / 275.5 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.004474, allocations: 100.6 kB / 275.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.00448, allocations: 192 / 275.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.004488, allocations: 4.375 kB / 275.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.004497, allocations: 8.359 kB / 275.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.004518, allocations: 7.875 kB / 275.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.193e-05/0.00459, allocations: 61.05 kB / 275.7 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.615e-05/0.004656, allocations: 34.55 kB / 275.7 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.004678, allocations: 8.859 kB / 275.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-06/0.004687, allocations: 11.92 kB / 275.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.00471, allocations: 38.56 kB / 275.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.004711, allocations: 0 / 275.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001073/0.004818, allocations: 45.62 kB / 275.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.004864, allocations: 55.41 kB / 275.9 MB, free: 1.914 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.004928, allocations: 106.7 kB / 276 MB, free: 1.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.004941, allocations: 29.7 kB / 276 MB, free: 1.762 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.004965, allocations: 80.14 kB / 276.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.004976, allocations: 7.984 kB / 276.1 MB, free: 1.672 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.005006, allocations: 17.7 kB / 276.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.005091, allocations: 314.8 kB / 276.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-06/0.005097, allocations: 4 kB / 276.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.005102, allocations: 4 kB / 276.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.005123, allocations: 8.859 kB / 276.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.005126, allocations: 3.984 kB / 276.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.375e-05/0.005179, allocations: 37.64 kB / 276.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.005191, allocations: 4 kB / 276.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.005195, allocations: 0 / 276.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.005206, allocations: 0 / 276.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.264e-05/0.005249, allocations: 4 kB / 276.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.005251, allocations: 0 / 276.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.005264, allocations: 4.094 kB / 276.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-06/0.005267, allocations: 0 / 276.5 MB, free: 1.254 MB / 250.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 6.187e-05/0.005329, allocations: 117.8 kB / 276.6 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.005373, allocations: 41.69 kB / 276.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.005394, allocations: 4 kB / 276.6 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005396, allocations: 7.938 kB / 276.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.005397, allocations: 0 / 276.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.005399, allocations: 0 / 276.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.962e-05/0.005459, allocations: 73.78 kB / 276.7 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.005462, allocations: 7.922 kB / 276.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.005504, allocations: 12 kB / 276.7 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.005505, allocations: 0 / 276.7 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.00551, allocations: 4 kB / 276.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005511, allocations: 256 / 276.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005512, allocations: 0 / 276.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.35e-05/0.005555, allocations: 57.06 kB / 276.8 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.224e-05/0.005647, allocations: 11.94 kB / 276.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.005661, allocations: 0 / 276.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.799e-05/0.005679, allocations: 4 kB / 276.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-06/0.005682, allocations: 0 / 276.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.005685, allocations: 0 / 276.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.671e-05/0.005702, allocations: 16.84 kB / 276.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005702, allocations: 3.938 kB / 276.8 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.005877, allocations: 8 kB / 276.8 MB, free: 0.832 MB / 250.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 8.63e-05/0.005963, allocations: 76.42 kB / 276.9 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.909e-05/0.006022, allocations: 12.86 kB / 276.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.006025, allocations: 0 / 276.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.006025, allocations: 0 / 276.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.006162, allocations: 25.36 kB / 277 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.006368, allocations: 115.3 kB / 277.1 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.202e-05/0.0064, allocations: 63.2 kB / 277.1 MB, free: 496 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.484e-05/0.006415, allocations: 4 kB / 277.1 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.006456, allocations: 51.38 kB / 277.2 MB, free: 440 kB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.006456, allocations: 0 / 277.2 MB, free: 440 kB / 250.7 MB Notification: Performance of Templates: time 0.002389/0.008845, allocations: 481.7 kB / 277.6 MB, free: 15.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5595497847534716]