Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001526/0.001526, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002078/0.002078, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 8.016 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+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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 51.91 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3146, allocations: 53.36 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003498/0.3181, allocations: 1.465 MB / 433.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.3185, allocations: 99.61 kB / 433.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.234e-05/0.3186, allocations: 4 kB / 433.2 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.3186, allocations: 3.938 kB / 433.2 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.448e-05/0.3187, allocations: 7.922 kB / 433.2 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.319, allocations: 12 kB / 433.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3191, allocations: 31.84 kB / 433.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3193, allocations: 15.92 kB / 433.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.3193, allocations: 8 kB / 433.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.3193, allocations: 11.94 kB / 433.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3194, allocations: 0 / 433.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.3194, allocations: 4 kB / 433.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.3194, allocations: 11.92 kB / 433.3 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.3194, allocations: 11.94 kB / 433.3 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3196, allocations: 33.38 kB / 433.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3196, allocations: 0 / 433.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3196, allocations: 0 / 433.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3196, allocations: 0 / 433.3 MB, free: 5.191 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.0004809/0.32, allocations: 274 kB / 433.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3201, allocations: 12.03 kB / 433.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.3201, allocations: 4.891 kB / 433.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.3204, allocations: 118.5 kB / 433.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3204, allocations: 384 / 433.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.3204, allocations: 8.375 kB / 433.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.3208, allocations: 103.9 kB / 433.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3208, allocations: 192 / 433.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3208, allocations: 7.875 kB / 433.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3208, allocations: 0 / 433.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.949e-05/0.3209, allocations: 23.92 kB / 433.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.321, allocations: 128.7 kB / 434 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.3212, allocations: 54.55 kB / 434.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.3213, allocations: 28.91 kB / 434.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.3213, allocations: 0 / 434.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.3213, allocations: 30.56 kB / 434.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.3213, allocations: 0 / 434.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002484/0.3216, allocations: 73.55 kB / 434.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.3217, allocations: 63.39 kB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3218, allocations: 101.9 kB / 434.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3218, allocations: 29.7 kB / 434.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.3218, allocations: 84.12 kB / 434.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.856e-06/0.3218, allocations: 4 kB / 434.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.3219, allocations: 13.72 kB / 434.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.322, allocations: 314.8 kB / 434.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.3221, allocations: 11.98 kB / 434.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/0.3221, allocations: 23.44 kB / 434.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.839e-05/0.3221, allocations: 35.62 kB / 434.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3222, allocations: 4 kB / 434.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001126/0.3223, allocations: 69.45 kB / 434.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3223, allocations: 4 kB / 434.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3223, allocations: 3.938 kB / 434.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3223, allocations: 4 kB / 434.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/0.3224, allocations: 4 kB / 434.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3224, allocations: 0 / 434.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.3224, allocations: 8 kB / 434.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.3224, allocations: 0 / 434.9 MB, free: 3.367 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 0.0001025/0.3225, allocations: 118 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.3226, allocations: 61.62 kB / 435.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.3227, allocations: 7.938 kB / 435.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3227, allocations: 0 / 435.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3227, allocations: 0 / 435.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3227, allocations: 3.984 kB / 435.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3228, allocations: 124.8 kB / 435.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3228, allocations: 3.938 kB / 435.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/0.3228, allocations: 12 kB / 435.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3229, allocations: 0 / 435.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3229, allocations: 7.938 kB / 435.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3229, allocations: 0 / 435.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.3229, allocations: 7.984 kB / 435.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.323, allocations: 85.02 kB / 435.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.323, allocations: 0 / 435.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.3231, allocations: 7.922 kB / 435.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.69e-05/0.3231, allocations: 8 kB / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-06/0.3231, allocations: 0 / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-06/0.3231, allocations: 0 / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.814e-05/0.3231, allocations: 83.28 kB / 435.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3231, allocations: 0 / 435.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000209/0.3234, allocations: 4 kB / 435.5 MB, free: 2.758 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.0001296/0.3235, allocations: 99.42 kB / 435.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.3236, allocations: 32.3 kB / 435.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3236, allocations: 0 / 435.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3236, allocations: 0 / 435.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.3238, allocations: 16.03 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.3242, allocations: 125.7 kB / 435.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.3245, allocations: 0.6884 MB / 436.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.479e-05/0.3245, allocations: 256 / 436.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.3246, allocations: 11.44 kB / 436.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3246, allocations: 0 / 436.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of Templates: time 0.002889/0.3274, allocations: 352.5 kB / 436.8 MB, free: 1.387 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.981682438869029]