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.001361/0.001361, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001559/0.001559, allocations: 218 kB / 24.5 MB, free: 4.172 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.45/1.45, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.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 0.002125/0.002125, allocations: 67.89 kB / 379 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2445, allocations: 53.42 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.00267/0.2472, allocations: 1.449 MB / 433.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002674/0.2475, allocations: 99.62 kB / 434 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.2475, allocations: 4 kB / 434 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.2475, allocations: 7.922 kB / 434 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.2476, allocations: 0 / 434 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.2478, allocations: 27.91 kB / 434 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.386e-05/0.2479, allocations: 23.94 kB / 434 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.248, allocations: 7.984 kB / 434.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.579e-05/0.248, allocations: 11.94 kB / 434.1 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.2481, allocations: 11.92 kB / 434.1 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.2481, allocations: 7.938 kB / 434.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.2481, allocations: 0 / 434.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.2481, allocations: 7.938 kB / 434.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.2481, allocations: 19.92 kB / 434.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.112e-05/0.2482, allocations: 27.56 kB / 434.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2482, allocations: 0 / 434.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2482, allocations: 0 / 434.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.2482, allocations: 0 / 434.1 MB, free: 5.078 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.000388/0.2486, allocations: 267.9 kB / 434.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2487, allocations: 8.031 kB / 434.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.2487, allocations: 12.83 kB / 434.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.2489, allocations: 122.5 kB / 434.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.2489, allocations: 8.359 kB / 434.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.2489, allocations: 384 / 434.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.2492, allocations: 111.8 kB / 434.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2492, allocations: 192 / 434.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2492, allocations: 3.938 kB / 434.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.2492, allocations: 4 kB / 434.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.2493, allocations: 19.98 kB / 434.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.2494, allocations: 140.6 kB / 434.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.2496, allocations: 50.5 kB / 434.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.2496, allocations: 24.92 kB / 434.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.2497, allocations: 4 kB / 434.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.2497, allocations: 30.56 kB / 434.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2497, allocations: 0 / 434.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002105/0.2499, allocations: 81.53 kB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.2499, allocations: 51.41 kB / 435.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.25, allocations: 101.9 kB / 435.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2501, allocations: 29.69 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.2501, allocations: 88.14 kB / 435.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-06/0.2501, allocations: 0 / 435.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.2501, allocations: 17.72 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2503, allocations: 314.8 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.2503, allocations: 3.984 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.568e-05/0.2503, allocations: 27.44 kB / 435.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.2504, allocations: 39.38 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2504, allocations: 0 / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.246e-05/0.2505, allocations: 57.58 kB / 435.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2505, allocations: 4 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2505, allocations: 12.06 kB / 435.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2505, allocations: 0 / 435.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.2505, allocations: 15.88 kB / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2505, allocations: 0 / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.2506, allocations: 3.984 kB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2506, allocations: 4 kB / 435.8 MB, free: 3.238 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.781e-05/0.2507, allocations: 109.8 kB / 435.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2508, allocations: 53.69 kB / 435.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.2508, allocations: 12.27 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.2508, allocations: 4 kB / 435.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2508, allocations: 3.984 kB / 435.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2508, allocations: 7.984 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.968e-05/0.2509, allocations: 128.7 kB / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2509, allocations: 0 / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.2509, allocations: 4 kB / 436.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.251, allocations: 4 kB / 436.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.251, allocations: 11.86 kB / 436.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.251, allocations: 256 / 436.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.251, allocations: 0 / 436.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.2511, allocations: 85.08 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.2511, allocations: 7.984 kB / 436.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2511, allocations: 7.938 kB / 436.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.177e-05/0.2511, allocations: 0 / 436.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-06/0.2511, allocations: 0 / 436.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2512, allocations: 8 kB / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.575e-05/0.2512, allocations: 79.28 kB / 436.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2512, allocations: 4 kB / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001844/0.2514, allocations: 4 kB / 436.3 MB, free: 2.629 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.0001027/0.2515, allocations: 103.2 kB / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.2516, allocations: 23.98 kB / 436.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2516, allocations: 0 / 436.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2516, allocations: 0 / 436.4 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.0002228/0.2518, allocations: 33.67 kB / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.2521, allocations: 147.3 kB / 436.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.2524, allocations: 0.6807 MB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.2524, allocations: 7.438 kB / 437.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2524, allocations: 0 / 437.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of Templates: time 0.001868/0.2543, allocations: 0.5625 MB / 437.8 MB, free: 1.02 MB / 334.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/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_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: 6.736042769858614]