Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001584/0.001584, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001739/0.001739, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.48/1.48, allocations: 230.4 MB / 255.4 MB, free: 15.01 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 67.89 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1106, allocations: 53.31 MB / 428 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002805/0.1134, allocations: 1.432 MB / 429.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001867/0.1136, allocations: 27.92 kB / 429.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.1137, allocations: 3.938 kB / 429.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.1137, allocations: 3.984 kB / 429.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.1137, allocations: 11.88 kB / 429.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.114, allocations: 19.97 kB / 429.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.459e-05/0.1141, allocations: 27.92 kB / 429.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1142, allocations: 8 kB / 429.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.063e-05/0.1142, allocations: 11.94 kB / 429.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.1143, allocations: 15.92 kB / 429.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1143, allocations: 0 / 429.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.1143, allocations: 4 kB / 429.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.1143, allocations: 7.984 kB / 429.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.1143, allocations: 15.92 kB / 429.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.887e-05/0.1144, allocations: 31.84 kB / 429.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1145, allocations: 3.938 kB / 429.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1145, allocations: 0 / 429.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1145, allocations: 0 / 429.7 MB, free: 2.73 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.000512/0.115, allocations: 335.5 kB / 430 MB, free: 2.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.115, allocations: 16.03 kB / 430 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.115, allocations: 4.938 kB / 430 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1153, allocations: 188.1 kB / 430.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.1153, allocations: 4.375 kB / 430.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.1153, allocations: 384 / 430.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.1157, allocations: 115.8 kB / 430.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1157, allocations: 4.188 kB / 430.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1157, allocations: 3.938 kB / 430.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1157, allocations: 4 kB / 430.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1158, allocations: 23.97 kB / 430.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.116, allocations: 153.7 kB / 430.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1161, allocations: 50.48 kB / 430.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.1162, allocations: 24.92 kB / 430.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.1162, allocations: 4 kB / 430.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.1162, allocations: 34.56 kB / 430.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1162, allocations: 0 / 430.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002589/0.1165, allocations: 73.56 kB / 430.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.1166, allocations: 63.34 kB / 430.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.1166, allocations: 105.8 kB / 430.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1167, allocations: 25.7 kB / 430.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.1167, allocations: 80.14 kB / 431 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.1167, allocations: 7.984 kB / 431 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.1168, allocations: 17.72 kB / 431 MB, free: 1.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1169, allocations: 318.8 kB / 431.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.1169, allocations: 0 / 431.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.117, allocations: 35.42 kB / 431.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.104e-05/0.117, allocations: 39.38 kB / 431.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.117, allocations: 0 / 431.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.937e-05/0.1171, allocations: 61.58 kB / 431.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1171, allocations: 8 kB / 431.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1171, allocations: 3.938 kB / 431.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1171, allocations: 192 / 431.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.312e-05/0.1172, allocations: 16 kB / 431.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1172, allocations: 4 kB / 431.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.1172, allocations: 0 / 431.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1172, allocations: 7.984 kB / 431.5 MB, free: 0.6797 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 0.0001005/0.1173, allocations: 121.8 kB / 431.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.1175, allocations: 49.69 kB / 431.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.1175, allocations: 19.42 kB / 431.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1175, allocations: 0 / 431.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1175, allocations: 384 / 431.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1175, allocations: 4 kB / 431.7 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1176, allocations: 153.7 kB / 431.8 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1176, allocations: 4 kB / 431.8 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.1177, allocations: 11.92 kB / 431.8 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1177, allocations: 0 / 431.8 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1177, allocations: 3.938 kB / 431.8 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1177, allocations: 0 / 431.8 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1177, allocations: 0 / 431.8 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.1178, allocations: 93.06 kB / 431.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.1179, allocations: 77.11 kB / 432 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1179, allocations: 3.938 kB / 432 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.1179, allocations: 7.984 kB / 432 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.1179, allocations: 0 / 432 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.1179, allocations: 0 / 432 MB, free: 32 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.42e-05/0.118, allocations: 83.28 kB / 432.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.118, allocations: 4 kB / 432.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001802/0.1182, allocations: 0 / 432.1 MB, free: 15.95 MB / 366.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.0001265/0.1183, allocations: 103.2 kB / 432.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.1185, allocations: 35.91 kB / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1185, allocations: 0 / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.1185, allocations: 0 / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1187, allocations: 22.38 kB / 432.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.119, allocations: 147.2 kB / 432.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.1194, allocations: 0.6848 MB / 433.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.1194, allocations: 7.438 kB / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1194, allocations: 0 / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Templates: time 0.002273/0.1217, allocations: 0.6134 MB / 433.7 MB, free: 14.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.54623674089089]