Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.007936/0.007936, allocations: 103.4 kB / 21.98 MB, free: 5.227 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.001993/0.001993, allocations: 222.4 kB / 25.3 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 259 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 68.75 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3127, allocations: 53.36 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003258/0.316, allocations: 1.457 MB / 434.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003504/0.3163, allocations: 103.6 kB / 434.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.3164, allocations: 0 / 434.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.3164, allocations: 7.922 kB / 434.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.3165, allocations: 7.922 kB / 434.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.3168, allocations: 15.38 kB / 434.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.518e-05/0.3169, allocations: 23.92 kB / 434.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.317, allocations: 19.91 kB / 434.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.317, allocations: 4 kB / 434.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.3171, allocations: 15.92 kB / 434.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3171, allocations: 4 kB / 434.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-06/0.3171, allocations: 4 kB / 434.8 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.3171, allocations: 7.938 kB / 434.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.3172, allocations: 11.94 kB / 434.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3173, allocations: 29.44 kB / 434.9 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3173, allocations: 3.938 kB / 434.9 MB, free: 5.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3173, allocations: 0 / 434.9 MB, free: 5.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3173, allocations: 3.938 kB / 434.9 MB, free: 5.238 MB / 334.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.000512/0.3178, allocations: 274 kB / 435.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3178, allocations: 8.031 kB / 435.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.3179, allocations: 12.89 kB / 435.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.3182, allocations: 118.5 kB / 435.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3182, allocations: 4.375 kB / 435.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3182, allocations: 8.375 kB / 435.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.3186, allocations: 99.88 kB / 435.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3186, allocations: 8.125 kB / 435.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3186, allocations: 3.938 kB / 435.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3186, allocations: 0 / 435.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.865e-05/0.3187, allocations: 19.98 kB / 435.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.3189, allocations: 136.6 kB / 435.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.319, allocations: 46.56 kB / 435.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/0.3191, allocations: 28.92 kB / 435.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3191, allocations: 0 / 435.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.3192, allocations: 30.56 kB / 435.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.3192, allocations: 0 / 435.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002553/0.3194, allocations: 73.55 kB / 435.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.3195, allocations: 59.39 kB / 435.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3196, allocations: 109.9 kB / 435.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3196, allocations: 25.7 kB / 435.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.3197, allocations: 84.12 kB / 436 MB, free: 3.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.3197, allocations: 0 / 436 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.3197, allocations: 17.72 kB / 436 MB, free: 3.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3199, allocations: 314.8 kB / 436.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.3199, allocations: 7.984 kB / 436.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.3199, allocations: 27.44 kB / 436.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.32, allocations: 35.38 kB / 436.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.32, allocations: 0 / 436.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.58e-05/0.3201, allocations: 61.67 kB / 436.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3201, allocations: 4 kB / 436.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3201, allocations: 7.875 kB / 436.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3201, allocations: 4 kB / 436.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.3202, allocations: 4 kB / 436.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.3202, allocations: 4 kB / 436.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.3202, allocations: 4 kB / 436.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3202, allocations: 3.984 kB / 436.5 MB, free: 3.414 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.902e-05/0.3203, allocations: 113.8 kB / 436.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3205, allocations: 61.72 kB / 436.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.3205, allocations: 16.14 kB / 436.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3205, allocations: 0 / 436.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3205, allocations: 0 / 436.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.3205, allocations: 7.969 kB / 436.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.3206, allocations: 128.7 kB / 436.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3206, allocations: 0 / 436.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.3207, allocations: 8.25 kB / 436.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3207, allocations: 0 / 436.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.3207, allocations: 11.94 kB / 436.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3207, allocations: 11.98 kB / 436.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3207, allocations: 0 / 436.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.3208, allocations: 81.08 kB / 436.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.3209, allocations: 3.984 kB / 436.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3209, allocations: 3.938 kB / 436.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.434e-05/0.3209, allocations: 4 kB / 436.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-06/0.3209, allocations: 0 / 436.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.3209, allocations: 4 kB / 436.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.454e-05/0.321, allocations: 87.22 kB / 437 MB, free: 2.797 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.321, allocations: 4 kB / 437 MB, free: 2.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000197/0.3212, allocations: 0 / 437 MB, free: 2.793 MB / 334.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.0001492/0.3213, allocations: 99.23 kB / 437.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.3215, allocations: 23.98 kB / 437.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3215, allocations: 0 / 437.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.925e-06/0.3215, allocations: 8.188 kB / 437.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.3217, allocations: 17.69 kB / 437.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.3221, allocations: 151.2 kB / 437.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3225, allocations: 0.6807 MB / 438 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.3225, allocations: 7.438 kB / 438 MB, free: 1.746 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3225, allocations: 0 / 438 MB, free: 1.746 MB / 334.1 MB Notification: Performance of Templates: time 0.002283/0.3248, allocations: 0.559 MB / 438.6 MB, free: 1.188 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.78883161698468]