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.001343/0.001343, allocations: 86.33 kB / 20.68 MB, free: 1.035 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.001496/0.001496, allocations: 158.5 kB / 23.95 MB, free: 4.164 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.493/1.493, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.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 1.352e-06/1.352e-06, allocations: 0 / 325 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.367e-05, allocations: 2.281 kB / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002379/0.002403, allocations: 1.454 MB / 326.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002951/0.002698, allocations: 104.6 kB / 326.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.002757, allocations: 5.219 kB / 326.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.002789, allocations: 4.594 kB / 326.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/0.002827, allocations: 1.719 kB / 326.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.003073, allocations: 22.78 kB / 326.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.147e-05/0.003165, allocations: 28.48 kB / 326.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.003257, allocations: 9.562 kB / 326.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.003312, allocations: 12.33 kB / 326.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.00336, allocations: 9.312 kB / 326.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.00338, allocations: 2.375 kB / 326.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.00339, allocations: 2.094 kB / 326.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.003413, allocations: 14.48 kB / 326.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.003444, allocations: 4.25 kB / 326.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.003544, allocations: 35.31 kB / 326.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003547, allocations: 1.125 kB / 326.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003547, allocations: 0 / 326.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.003551, allocations: 0 / 326.7 MB, free: 15.37 MB / 302.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.0004179/0.003969, allocations: 261.8 kB / 327 MB, free: 15.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.004025, allocations: 13.3 kB / 327 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.00406, allocations: 7.75 kB / 327 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.004264, allocations: 120.1 kB / 327.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.004276, allocations: 5.531 kB / 327.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.004286, allocations: 2.75 kB / 327.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.004599, allocations: 105.8 kB / 327.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.004611, allocations: 4.172 kB / 327.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.004618, allocations: 384 / 327.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004623, allocations: 2.641 kB / 327.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.258e-05/0.004716, allocations: 25.62 kB / 327.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.004849, allocations: 111.8 kB / 327.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.005011, allocations: 57.44 kB / 327.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.416e-05/0.005076, allocations: 23.2 kB / 327.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.005095, allocations: 0 / 327.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.005125, allocations: 31.17 kB / 327.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.005126, allocations: 0 / 327.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000223/0.005349, allocations: 67.67 kB / 327.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.00541, allocations: 69.25 kB / 327.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.005499, allocations: 108.6 kB / 327.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.005517, allocations: 25.7 kB / 327.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.005564, allocations: 85.91 kB / 327.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.005567, allocations: 1.672 kB / 327.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.005592, allocations: 12.45 kB / 327.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.005735, allocations: 312.5 kB / 328.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/0.00574, allocations: 1.031 kB / 328.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-06/0.005742, allocations: 0 / 328.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.696e-05/0.005779, allocations: 80.7 kB / 328.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.413e-05/0.005813, allocations: 75.28 kB / 328.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.585e-05/0.005869, allocations: 33.22 kB / 328.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.005917, allocations: 81.23 kB / 328.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/0.005954, allocations: 81.16 kB / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-05/0.006031, allocations: 156.4 kB / 328.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.087e-05/0.006071, allocations: 81.17 kB / 328.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.306e-05/0.006135, allocations: 151.7 kB / 328.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.006215, allocations: 80.92 kB / 328.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.006249, allocations: 82.02 kB / 329 MB, free: 13.11 MB / 302.1 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 0.0001161/0.006365, allocations: 187.9 kB / 329.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.00649, allocations: 61.52 kB / 329.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.006519, allocations: 9.719 kB / 329.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006521, allocations: 1.281 kB / 329.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.006524, allocations: 0 / 329.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.006529, allocations: 4.781 kB / 329.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.65e-05/0.006616, allocations: 103 kB / 329.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.006619, allocations: 1.094 kB / 329.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.006706, allocations: 12.69 kB / 329.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006709, allocations: 0 / 329.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.006716, allocations: 1.781 kB / 329.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.006719, allocations: 4 kB / 329.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.00672, allocations: 1.5 kB / 329.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.006872, allocations: 89.09 kB / 329.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.006883, allocations: 6.938 kB / 329.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.006895, allocations: 0.8125 kB / 329.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.008e-05/0.006925, allocations: 10.92 kB / 329.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-06/0.006929, allocations: 2.219 kB / 329.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.006933, allocations: 0 / 329.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.768e-05/0.00698, allocations: 82.7 kB / 329.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.00698, allocations: 0 / 329.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.007194, allocations: 5.844 kB / 329.6 MB, free: 12.56 MB / 302.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.0001018/0.007296, allocations: 102.3 kB / 329.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.77e-05/0.007384, allocations: 19.84 kB / 329.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.007386, allocations: 1.031 kB / 329.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.007386, allocations: 0 / 329.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.007614, allocations: 23.17 kB / 329.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.007864, allocations: 116.6 kB / 329.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.931e-05/0.007923, allocations: 67.59 kB / 329.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.827e-06/0.007932, allocations: 0.7969 kB / 329.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.007956, allocations: 9.688 kB / 329.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.007956, allocations: 5.219 kB / 329.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Templates: time 0.00248/0.01044, allocations: 285.2 kB / 330.2 MB, free: 12.19 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/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: 4.402790356427431]