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.00116/0.00116, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001501/0.001501, allocations: 163 kB / 24.99 MB, free: 9.324 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 0.9746/0.9746, allocations: 177 MB / 205.2 MB, free: 5.227 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.373e-06/1.373e-06, allocations: 0 / 273 MB, free: 1.605 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.422e-05, allocations: 5.266 kB / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001627/0.001641, allocations: 1.506 MB / 274.5 MB, free: 84 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002198/0.001861, allocations: 99.64 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.001919, allocations: 0 / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.001944, allocations: 3.938 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.978e-05/0.001973, allocations: 0 / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.002178, allocations: 27.83 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.002254, allocations: 35.84 kB / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.00234, allocations: 7.984 kB / 274.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.916e-05/0.002379, allocations: 8 kB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.204e-05/0.002411, allocations: 11.98 kB / 274.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.00243, allocations: 0 / 274.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-06/0.002436, allocations: 4 kB / 274.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.002452, allocations: 7.938 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.002476, allocations: 4 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.287e-05/0.002549, allocations: 31.84 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002551, allocations: 0 / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002551, allocations: 0 / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.002554, allocations: 0 / 274.7 MB, free: 15.84 MB / 266.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.0003155/0.00287, allocations: 364.6 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.002904, allocations: 19.92 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.002938, allocations: 8.891 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.00308, allocations: 120.6 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.003089, allocations: 4.375 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.003098, allocations: 4.375 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.00329, allocations: 102.2 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.003296, allocations: 192 / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.003304, allocations: 8.375 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.003311, allocations: 384 / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.003336, allocations: 11.92 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.128e-05/0.003428, allocations: 112.6 kB / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.16e-05/0.003499, allocations: 46.98 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.00353, allocations: 19.75 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.003545, allocations: 4 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.003565, allocations: 37.39 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.003566, allocations: 0 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001174/0.003683, allocations: 53.62 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.003716, allocations: 55.41 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.003789, allocations: 173.9 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.003798, allocations: 25.7 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.003835, allocations: 130.9 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.003837, allocations: 0 / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.003854, allocations: 15.38 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.00396, allocations: 0.4923 MB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-06/0.003964, allocations: 0 / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-06/0.003967, allocations: 0 / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.004001, allocations: 119.2 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.542e-05/0.004026, allocations: 119.2 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.212e-05/0.004058, allocations: 41.58 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.004091, allocations: 123.2 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.004116, allocations: 123.2 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.413e-05/0.00417, allocations: 238.4 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.289e-05/0.004193, allocations: 123.1 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.892e-05/0.004242, allocations: 242.4 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.004291, allocations: 135 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.004316, allocations: 119.6 kB / 277.9 MB, free: 12.48 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 7.355e-05/0.004389, allocations: 271.8 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.004432, allocations: 53.62 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.004453, allocations: 16 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004455, allocations: 3.938 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.004459, allocations: 4 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004462, allocations: 3.938 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.948e-05/0.004512, allocations: 116.6 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.004514, allocations: 0 / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.004568, allocations: 8 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.00457, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.004576, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.004577, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.004579, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.193e-05/0.00464, allocations: 96.33 kB / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.004645, allocations: 0 / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.004654, allocations: 7.984 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-06/0.004663, allocations: 0 / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-06/0.004665, allocations: 0 / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.004669, allocations: 0 / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.569e-05/0.004705, allocations: 135.1 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004705, allocations: 0 / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001287/0.004833, allocations: 0 / 278.6 MB, free: 11.71 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 6.738e-05/0.004901, allocations: 103.2 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.564e-05/0.004947, allocations: 8 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.004948, allocations: 0 / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.004948, allocations: 0 / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.005101, allocations: 17.16 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/0.005294, allocations: 117.1 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.933e-05/0.005323, allocations: 63.28 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.561e-06/0.005329, allocations: 0 / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.005348, allocations: 8.5 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005348, allocations: 0 / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of Templates: time 0.001487/0.006835, allocations: 307 kB / 279.2 MB, free: 11.03 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.792518227128312]