Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001253/0.001253, 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.001372/0.001372, 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.383/1.383, allocations: 230.6 MB / 258.3 MB, free: 7.957 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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 55.92 kB / 379 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2427, allocations: 53.36 MB / 432.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002722/0.2455, allocations: 1.437 MB / 433.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001824/0.2456, allocations: 35.91 kB / 433.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.2457, allocations: 0 / 433.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.2457, allocations: 7.938 kB / 433.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.378e-05/0.2458, allocations: 3.938 kB / 433.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.246, allocations: 23.97 kB / 433.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.758e-05/0.2461, allocations: 27.92 kB / 433.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2462, allocations: 8 kB / 433.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.2462, allocations: 15.92 kB / 433.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.2463, allocations: 11.92 kB / 434 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2463, allocations: 0 / 434 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.2463, allocations: 4 kB / 434 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.2463, allocations: 4 kB / 434 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.2464, allocations: 19.86 kB / 434 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.413e-05/0.2465, allocations: 31.7 kB / 434 MB, free: 5.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2465, allocations: 4 kB / 434 MB, free: 5.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2465, allocations: 0 / 434 MB, free: 5.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2465, allocations: 0 / 434 MB, free: 5.25 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.0004078/0.2469, allocations: 259.8 kB / 434.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2469, allocations: 8.031 kB / 434.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.2469, allocations: 4.938 kB / 434.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.2471, allocations: 118.5 kB / 434.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2472, allocations: 12.36 kB / 434.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.2472, allocations: 4.375 kB / 434.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.2475, allocations: 119.8 kB / 434.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2475, allocations: 192 / 434.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2475, allocations: 7.875 kB / 434.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2475, allocations: 4 kB / 434.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.961e-05/0.2476, allocations: 19.97 kB / 434.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.2478, allocations: 136.8 kB / 434.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.2479, allocations: 46.58 kB / 434.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.248, allocations: 24.83 kB / 434.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.248, allocations: 4 kB / 434.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.248, allocations: 34.56 kB / 434.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.248, allocations: 0 / 434.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002475/0.2483, allocations: 81.56 kB / 434.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.2483, allocations: 51.41 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.2484, allocations: 105.8 kB / 435 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2484, allocations: 25.7 kB / 435.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.2485, allocations: 88.08 kB / 435.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.2485, allocations: 3.984 kB / 435.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.2485, allocations: 17.72 kB / 435.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2486, allocations: 318.8 kB / 435.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.2487, allocations: 8 kB / 435.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.2487, allocations: 31.42 kB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.2487, allocations: 35.38 kB / 435.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2487, allocations: 4 kB / 435.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.036e-05/0.2488, allocations: 65.58 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2488, allocations: 4 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.2489, allocations: 3.938 kB / 435.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2489, allocations: 4 kB / 435.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.2489, allocations: 4 kB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2489, allocations: 0 / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.249, allocations: 3.938 kB / 435.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.249, allocations: 8.062 kB / 435.7 MB, free: 3.406 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.5e-05/0.249, allocations: 121.8 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.2492, allocations: 53.69 kB / 435.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.2492, allocations: 15.61 kB / 435.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2492, allocations: 240 / 435.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2492, allocations: 0 / 435.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2492, allocations: 0 / 435.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.2493, allocations: 128.7 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2493, allocations: 0 / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.2493, allocations: 7.984 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2493, allocations: 7.938 kB / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2494, allocations: 3.938 kB / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2494, allocations: 4.375 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2494, allocations: 3.938 kB / 436 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.2495, allocations: 85.06 kB / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.2495, allocations: 7.938 kB / 436.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.2496, allocations: 11.94 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.573e-05/0.2496, allocations: 0 / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-06/0.2496, allocations: 11.98 kB / 436.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2496, allocations: 0 / 436.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.2496, allocations: 79.28 kB / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2496, allocations: 0 / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000193/0.2498, allocations: 8 kB / 436.2 MB, free: 2.785 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0001089/0.2499, allocations: 95.25 kB / 436.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.2501, allocations: 28.11 kB / 436.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2501, allocations: 4.062 kB / 436.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2501, allocations: 0 / 436.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.2503, allocations: 19.98 kB / 436.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.2506, allocations: 155.2 kB / 436.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.2509, allocations: 0.6807 MB / 437.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.2509, allocations: 7.438 kB / 437.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2509, allocations: 0 / 437.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of Templates: time 0.001911/0.2528, allocations: 0.5938 MB / 437.8 MB, free: 1.137 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.4282658929005265]