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.001245/0.001245, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001488/0.001488, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.384/1.384, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.001583/0.001583, allocations: 47.92 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2393, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002838/0.2421, allocations: 1.457 MB / 433.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002754/0.2424, allocations: 99.62 kB / 433.9 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.2425, allocations: 0 / 433.9 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.2425, allocations: 11.92 kB / 434 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.621e-05/0.2426, allocations: 7.938 kB / 434 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.2428, allocations: 18.97 kB / 434 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.382e-05/0.2429, allocations: 23.94 kB / 434 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.243, allocations: 15.92 kB / 434 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.243, allocations: 8 kB / 434 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.505e-05/0.2431, allocations: 11.92 kB / 434 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.2431, allocations: 0 / 434 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.2431, allocations: 4 kB / 434 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.2431, allocations: 7.938 kB / 434 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.2431, allocations: 15.92 kB / 434.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.667e-05/0.2432, allocations: 31.5 kB / 434.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2432, allocations: 4 kB / 434.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2432, allocations: 0 / 434.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.2432, allocations: 0 / 434.1 MB, free: 5.211 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.0004344/0.2437, allocations: 268.9 kB / 434.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2437, allocations: 12.03 kB / 434.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.2437, allocations: 4.891 kB / 434.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.2441, allocations: 118.5 kB / 434.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2441, allocations: 8.375 kB / 434.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.2441, allocations: 8.359 kB / 434.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.2444, allocations: 103.8 kB / 434.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2444, allocations: 4.125 kB / 434.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2444, allocations: 7.938 kB / 434.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2444, allocations: 0 / 434.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.366e-05/0.2445, allocations: 23.92 kB / 434.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.2446, allocations: 132.7 kB / 434.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.2448, allocations: 50.56 kB / 434.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.2448, allocations: 20.92 kB / 434.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.2449, allocations: 0 / 434.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.245, allocations: 38.56 kB / 434.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.245, allocations: 0 / 434.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002206/0.2452, allocations: 77.53 kB / 435 MB, free: 4.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.2452, allocations: 55.41 kB / 435 MB, free: 4.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.2453, allocations: 105.8 kB / 435.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.2454, allocations: 25.7 kB / 435.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.2454, allocations: 84.14 kB / 435.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.2454, allocations: 8 kB / 435.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.2454, allocations: 13.72 kB / 435.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2456, allocations: 314.8 kB / 435.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.2456, allocations: 7.984 kB / 435.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.2456, allocations: 23.44 kB / 435.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.2457, allocations: 35.38 kB / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2457, allocations: 0 / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.592e-05/0.2458, allocations: 65.52 kB / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2458, allocations: 8 kB / 435.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2458, allocations: 4.188 kB / 435.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2458, allocations: 4.125 kB / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.2459, allocations: 12 kB / 435.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2459, allocations: 3.984 kB / 435.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.2459, allocations: 4 kB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.2459, allocations: 0 / 435.7 MB, free: 3.379 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.95e-05/0.246, allocations: 109.8 kB / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2461, allocations: 57.62 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.2461, allocations: 7.938 kB / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.2461, allocations: 12.31 kB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2461, allocations: 0 / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2461, allocations: 0 / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.2462, allocations: 132.7 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2462, allocations: 0 / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.2463, allocations: 12 kB / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2463, allocations: 0 / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.2463, allocations: 7.922 kB / 436 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2463, allocations: 3.938 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2463, allocations: 0 / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.2465, allocations: 89.02 kB / 436.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.2465, allocations: 7.984 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.2465, allocations: 3.938 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/0.2465, allocations: 0 / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-06/0.2465, allocations: 4 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2465, allocations: 0 / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.889e-05/0.2466, allocations: 83.28 kB / 436.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2466, allocations: 0 / 436.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001948/0.2468, allocations: 11.98 kB / 436.2 MB, free: 2.762 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 9.654e-05/0.2469, allocations: 98.34 kB / 436.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.247, allocations: 23.92 kB / 436.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.247, allocations: 0 / 436.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.247, allocations: 4 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.2472, allocations: 20.02 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.2475, allocations: 151.5 kB / 436.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.2478, allocations: 0.6768 MB / 437.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.2478, allocations: 11.44 kB / 437.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2478, allocations: 0 / 437.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of Templates: time 0.001931/0.2498, allocations: 0.5628 MB / 437.8 MB, free: 1.156 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/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_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.3837764139752835]