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.001304/0.001304, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002318/0.002318, allocations: 210 kB / 24.48 MB, free: 3.938 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.484/1.484, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.001592/0.001592, allocations: 47.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2502, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002902/0.2531, allocations: 1.457 MB / 433.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.2534, allocations: 91.7 kB / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.2535, allocations: 0 / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.2535, allocations: 7.922 kB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.508e-05/0.2536, allocations: 3.938 kB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.2538, allocations: 27.91 kB / 433.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.2539, allocations: 31.88 kB / 433.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.254, allocations: 11.97 kB / 434 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.005e-05/0.254, allocations: 8 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.2541, allocations: 15.86 kB / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2541, allocations: 0 / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.2541, allocations: 4 kB / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.2541, allocations: 4 kB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.2541, allocations: 7.938 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.622e-05/0.2542, allocations: 34.84 kB / 434 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2542, allocations: 0 / 434 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2542, allocations: 0 / 434 MB, free: 5.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.2543, allocations: 4 kB / 434 MB, free: 5 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.0004188/0.2547, allocations: 262 kB / 434.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2547, allocations: 12.03 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.2547, allocations: 4.891 kB / 434.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.255, allocations: 122.5 kB / 434.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.255, allocations: 4.359 kB / 434.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.255, allocations: 4.375 kB / 434.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.2553, allocations: 115.8 kB / 434.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.2553, allocations: 192 / 434.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2553, allocations: 3.938 kB / 434.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2553, allocations: 0 / 434.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.225e-05/0.2554, allocations: 23.92 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.2555, allocations: 109.3 kB / 434.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.2557, allocations: 46.55 kB / 434.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.2558, allocations: 28.92 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.2558, allocations: 0 / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.2558, allocations: 38.5 kB / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2558, allocations: 0 / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002326/0.2561, allocations: 69.61 kB / 434.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.2561, allocations: 55.41 kB / 434.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.2562, allocations: 105.8 kB / 435 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2562, allocations: 29.64 kB / 435 MB, free: 3.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.2563, allocations: 84.14 kB / 435.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-06/0.2563, allocations: 4 kB / 435.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.2563, allocations: 21.7 kB / 435.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2565, allocations: 314.8 kB / 435.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.2565, allocations: 0 / 435.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.2565, allocations: 35.38 kB / 435.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.725e-05/0.2565, allocations: 35.36 kB / 435.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2566, allocations: 4 kB / 435.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.778e-05/0.2566, allocations: 57.59 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2567, allocations: 4 kB / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2567, allocations: 3.984 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2567, allocations: 7.938 kB / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.354e-05/0.2567, allocations: 4 kB / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.2567, allocations: 0 / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.2568, allocations: 4 kB / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.2568, allocations: 0 / 435.6 MB, free: 3.219 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 9.333e-05/0.2569, allocations: 117.8 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.257, allocations: 57.8 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.257, allocations: 12.33 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.257, allocations: 3.938 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.257, allocations: 0 / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.257, allocations: 3.984 kB / 435.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.763e-05/0.2571, allocations: 101.3 kB / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2571, allocations: 0 / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.2571, allocations: 8 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2571, allocations: 4.188 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2571, allocations: 4 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2572, allocations: 8 kB / 435.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2572, allocations: 3.938 kB / 435.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.2573, allocations: 93 kB / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.2573, allocations: 0 / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.2573, allocations: 0 / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.899e-05/0.2574, allocations: 7.984 kB / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-06/0.2574, allocations: 3.938 kB / 436 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2574, allocations: 0 / 436 MB, free: 2.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.887e-05/0.2574, allocations: 83.28 kB / 436.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2574, allocations: 0 / 436.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001835/0.2576, allocations: 8 kB / 436.1 MB, free: 2.637 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.0001073/0.2577, allocations: 99.23 kB / 436.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.2578, allocations: 31.92 kB / 436.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2578, allocations: 0 / 436.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2578, allocations: 3.938 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.258, allocations: 16 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.2583, allocations: 147.5 kB / 436.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.945e-05/0.2584, allocations: 75.27 kB / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.2584, allocations: 11.44 kB / 436.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2584, allocations: 0 / 436.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of Templates: time 0.002077/0.2605, allocations: 0.5664 MB / 437.1 MB, free: 1.637 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.571013178676367]