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.001887/0.001887, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001424/0.001424, allocations: 161.2 kB / 25.61 MB, free: 8.887 MB / 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.044/1.044, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.172e-06/1.172e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.833e-05, allocations: 4.281 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002245/0.002273, allocations: 1.485 MB / 275.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002521/0.002525, allocations: 107.6 kB / 275.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.002595, allocations: 6.688 kB / 275.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.002625, allocations: 3.938 kB / 275.7 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.94e-05/0.002665, allocations: 3.938 kB / 275.7 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.002888, allocations: 23.97 kB / 275.7 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.22e-05/0.00297, allocations: 27.92 kB / 275.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.003053, allocations: 0 / 275.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.0031, allocations: 19.92 kB / 275.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.061e-05/0.003141, allocations: 8.938 kB / 275.8 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.003159, allocations: 0 / 275.8 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.003168, allocations: 4 kB / 275.8 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.003192, allocations: 12.42 kB / 275.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.003215, allocations: 12.89 kB / 275.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.713e-05/0.003302, allocations: 15.92 kB / 275.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003305, allocations: 0 / 275.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.003306, allocations: 1.406 kB / 275.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.003311, allocations: 3.938 kB / 275.8 MB, free: 2.559 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.0003173/0.003628, allocations: 368.6 kB / 276.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.003664, allocations: 8.781 kB / 276.2 MB, free: 2.152 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.003689, allocations: 8.891 kB / 276.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.003819, allocations: 122.4 kB / 276.3 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.003826, allocations: 384 / 276.3 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.003835, allocations: 4.375 kB / 276.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.003999, allocations: 107 kB / 276.4 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.004005, allocations: 192 / 276.4 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.004011, allocations: 4.312 kB / 276.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004016, allocations: 384 / 276.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.004032, allocations: 7.938 kB / 276.5 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.533e-05/0.004117, allocations: 101.2 kB / 276.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.687e-05/0.004174, allocations: 31.06 kB / 276.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.004198, allocations: 23.73 kB / 276.6 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.004209, allocations: 0 / 276.6 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.00423, allocations: 37.39 kB / 276.6 MB, free: 1.621 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.004231, allocations: 4 kB / 276.7 MB, free: 1.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.184e-05/0.004322, allocations: 57.58 kB / 276.7 MB, free: 1.555 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.004353, allocations: 51.59 kB / 276.8 MB, free: 1.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.004412, allocations: 169.9 kB / 276.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.004e-06/0.004419, allocations: 25.7 kB / 277 MB, free: 1.277 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.004456, allocations: 130.9 kB / 277.1 MB, free: 1.145 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-06/0.004457, allocations: 0 / 277.1 MB, free: 1.145 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.004476, allocations: 15.38 kB / 277.1 MB, free: 1.121 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.004612, allocations: 0.4922 MB / 277.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-06/0.004615, allocations: 0 / 277.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.00462, allocations: 0 / 277.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/0.004652, allocations: 123.2 kB / 277.7 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.348e-05/0.004686, allocations: 123.1 kB / 277.8 MB, free: 384 kB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.637e-05/0.004732, allocations: 29.7 kB / 277.9 MB, free: 348 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.004772, allocations: 123.2 kB / 278 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/0.004808, allocations: 123.2 kB / 278.1 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.29e-05/0.004891, allocations: 250.3 kB / 278.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.817e-05/0.004919, allocations: 123.4 kB / 278.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.976e-05/0.004969, allocations: 246.3 kB / 278.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.005018, allocations: 131.1 kB / 278.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.005046, allocations: 123.1 kB / 278.9 MB, free: 15.24 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.178e-05/0.005128, allocations: 275.8 kB / 279.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.005188, allocations: 53.58 kB / 279.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.00521, allocations: 8 kB / 279.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.005213, allocations: 4 kB / 279.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005214, allocations: 0 / 279.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005217, allocations: 0 / 279.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.818e-05/0.005275, allocations: 105.1 kB / 279.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.005278, allocations: 0 / 279.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.00533, allocations: 4 kB / 279.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.005331, allocations: 0 / 279.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.005336, allocations: 4 kB / 279.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.005337, allocations: 4 kB / 279.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005338, allocations: 0 / 279.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.584e-05/0.005384, allocations: 68.33 kB / 279.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.005391, allocations: 7.938 kB / 279.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-06/0.005399, allocations: 4 kB / 279.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.005407, allocations: 4 kB / 279.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-06/0.005409, allocations: 0 / 279.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.005413, allocations: 0 / 279.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.597e-05/0.005449, allocations: 123.2 kB / 279.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005449, allocations: 0 / 279.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001244/0.005574, allocations: 4 kB / 279.6 MB, free: 14.51 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: 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 7.587e-05/0.00565, allocations: 103.2 kB / 279.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.711e-05/0.005687, allocations: 4 kB / 279.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005688, allocations: 0 / 279.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.005689, allocations: 0 / 279.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.005818, allocations: 21 kB / 279.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/0.005995, allocations: 117.3 kB / 279.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.006026, allocations: 59.22 kB / 279.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.04e-06/0.006031, allocations: 0 / 279.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.006072, allocations: 74.2 kB / 280 MB, free: 14.08 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.006073, allocations: 0 / 280 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Templates: time 0.001668/0.007741, allocations: 323.2 kB / 280.3 MB, free: 13.78 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.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.8534994847141206]