Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001877/0.001877, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.001849/0.001849, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.67/1.67, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.88 kB / 373.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.122, allocations: 53.33 MB / 427.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002773/0.1248, allocations: 1.421 MB / 428.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001922/0.125, allocations: 31.92 kB / 428.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.1251, allocations: 0 / 428.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.1251, allocations: 7.875 kB / 428.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.914e-05/0.1251, allocations: 15.92 kB / 428.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1254, allocations: 18.8 kB / 428.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.771e-05/0.1255, allocations: 23.98 kB / 428.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1256, allocations: 19.91 kB / 428.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.1256, allocations: 11.94 kB / 428.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.023e-05/0.1257, allocations: 15.92 kB / 428.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1257, allocations: 0 / 428.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.1257, allocations: 4 kB / 428.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.1257, allocations: 4 kB / 428.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.1257, allocations: 15.92 kB / 428.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.1259, allocations: 35.83 kB / 428.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1259, allocations: 0 / 428.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1259, allocations: 0 / 428.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1259, allocations: 0 / 428.8 MB, free: 2.824 MB / 350.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.0004598/0.1263, allocations: 339.5 kB / 429.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1264, allocations: 12.03 kB / 429.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.1264, allocations: 4.875 kB / 429.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1266, allocations: 180.3 kB / 429.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.1266, allocations: 4.375 kB / 429.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1266, allocations: 8.375 kB / 429.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.127, allocations: 119.8 kB / 429.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.127, allocations: 192 / 429.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.127, allocations: 3.938 kB / 429.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.127, allocations: 4 kB / 429.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1271, allocations: 23.97 kB / 429.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1273, allocations: 157.7 kB / 429.6 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1274, allocations: 42.55 kB / 429.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/0.1275, allocations: 28.92 kB / 429.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.1275, allocations: 3.984 kB / 429.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1275, allocations: 34.5 kB / 429.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1275, allocations: 4 kB / 429.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002646/0.1278, allocations: 73.56 kB / 429.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.1279, allocations: 59.41 kB / 429.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.1279, allocations: 105.8 kB / 430 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.128, allocations: 29.64 kB / 430 MB, free: 1.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.128, allocations: 84.14 kB / 430.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.128, allocations: 0 / 430.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.1281, allocations: 21.7 kB / 430.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1282, allocations: 314.8 kB / 430.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.1282, allocations: 8 kB / 430.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.1282, allocations: 35.36 kB / 430.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/0.1283, allocations: 35.38 kB / 430.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1283, allocations: 0 / 430.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.929e-05/0.1284, allocations: 65.58 kB / 430.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1284, allocations: 8 kB / 430.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1284, allocations: 3.938 kB / 430.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1284, allocations: 3.938 kB / 430.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.1284, allocations: 4 kB / 430.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1285, allocations: 4 kB / 430.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.1285, allocations: 0 / 430.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1285, allocations: 4 kB / 430.6 MB, free: 0.7773 MB / 350.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 7.754e-05/0.1286, allocations: 117.9 kB / 430.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.1287, allocations: 57.67 kB / 430.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.1287, allocations: 15.44 kB / 430.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1287, allocations: 0 / 430.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1287, allocations: 3.984 kB / 430.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1287, allocations: 0 / 430.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.1288, allocations: 154 kB / 430.9 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1288, allocations: 0 / 430.9 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.1289, allocations: 8 kB / 430.9 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1289, allocations: 7.984 kB / 430.9 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1289, allocations: 3.938 kB / 430.9 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1289, allocations: 0 / 430.9 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1289, allocations: 0 / 430.9 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.129, allocations: 93 kB / 431 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1291, allocations: 77.11 kB / 431.1 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1291, allocations: 7.938 kB / 431.1 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.639e-05/0.1291, allocations: 4 kB / 431.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.1291, allocations: 4 kB / 431.1 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1291, allocations: 3.984 kB / 431.1 MB, free: 124 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.183e-05/0.1292, allocations: 79.28 kB / 431.2 MB, free: 44 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1292, allocations: 0 / 431.2 MB, free: 44 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001784/0.1294, allocations: 11.94 kB / 431.2 MB, free: 32 kB / 350.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.0001317/0.1295, allocations: 99.25 kB / 431.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.1296, allocations: 27.92 kB / 431.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1296, allocations: 4.25 kB / 431.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1296, allocations: 0 / 431.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1299, allocations: 19.98 kB / 431.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.1302, allocations: 129.9 kB / 431.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1305, allocations: 0.6806 MB / 432.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.699e-05/0.1305, allocations: 4 kB / 432.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.1305, allocations: 7.438 kB / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1305, allocations: 0 / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of Templates: time 0.002463/0.133, allocations: 380.5 kB / 432.5 MB, free: 14.63 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.895553408190608]