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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001809/0.001808, allocations: 109.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002588/0.002588, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.753/2.753, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002796, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.6837, allocations: 50.55 MB / 409.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.008615/0.6924, allocations: 1.414 MB / 411.3 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003301/0.6928, allocations: 35.91 kB / 411.4 MB, free: 20 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.693, allocations: 0 / 411.4 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.6931, allocations: 3.938 kB / 411.4 MB, free: 16 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.936e-05/0.6932, allocations: 0 / 411.4 MB, free: 16 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.6936, allocations: 27.95 kB / 411.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004223/0.6979, allocations: 27.94 kB / 411.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.6981, allocations: 11.98 kB / 411.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.338e-05/0.6982, allocations: 11.94 kB / 411.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/0.6982, allocations: 11.92 kB / 411.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.6983, allocations: 0 / 411.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.6983, allocations: 4 kB / 411.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.6983, allocations: 7.984 kB / 411.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.6984, allocations: 11.94 kB / 411.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.6986, allocations: 39.77 kB / 411.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.6986, allocations: 0 / 411.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.6986, allocations: 7.938 kB / 411.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.6986, allocations: 0 / 411.5 MB, free: 15.86 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.0006336/0.6993, allocations: 339.1 kB / 411.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.6993, allocations: 12.03 kB / 411.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.6994, allocations: 0.9375 kB / 411.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.6998, allocations: 184.2 kB / 412.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.6999, allocations: 4.375 kB / 412.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.6999, allocations: 384 / 412.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.7004, allocations: 115.9 kB / 412.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.7004, allocations: 192 / 412.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.7004, allocations: 3.938 kB / 412.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.7004, allocations: 4 kB / 412.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.7006, allocations: 23.92 kB / 412.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.7008, allocations: 157.7 kB / 412.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.701, allocations: 50.56 kB / 412.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.748e-05/0.7011, allocations: 24.92 kB / 412.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.7011, allocations: 0 / 412.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.7012, allocations: 42.55 kB / 412.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.7012, allocations: 0 / 412.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003578/0.7016, allocations: 77.55 kB / 412.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.7016, allocations: 55.41 kB / 412.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008263/0.7099, allocations: 105.8 kB / 412.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.71, allocations: 25.7 kB / 412.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.7101, allocations: 84.14 kB / 412.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.7102, allocations: 11.84 kB / 412.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.7102, allocations: 21.7 kB / 412.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.7104, allocations: 310.8 kB / 413.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.7105, allocations: 4 kB / 413.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.7105, allocations: 31.44 kB / 413.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.7106, allocations: 39.36 kB / 413.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.7107, allocations: 0 / 413.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001843/0.7108, allocations: 69.62 kB / 413.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.7109, allocations: 4 kB / 413.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.7109, allocations: 7.938 kB / 413.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.7109, allocations: 0 / 413.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.7111, allocations: 4 kB / 413.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.7111, allocations: 0 / 413.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.7111, allocations: 4 kB / 413.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.7112, allocations: 0 / 413.3 MB, free: 13.82 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 0.0001523/0.7113, allocations: 121.7 kB / 413.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.7116, allocations: 69.58 kB / 413.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.018e-05/0.7116, allocations: 11.44 kB / 413.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.7116, allocations: 240 / 413.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.7117, allocations: 4 kB / 413.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.7117, allocations: 3.984 kB / 413.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.7119, allocations: 159.1 kB / 413.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7119, allocations: 0 / 413.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.7119, allocations: 0 / 413.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.7119, allocations: 4 kB / 413.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.7119, allocations: 3.938 kB / 413.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.712, allocations: 7.984 kB / 413.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.712, allocations: 3.984 kB / 413.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.7122, allocations: 85.42 kB / 413.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.7123, allocations: 85.02 kB / 413.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.7123, allocations: 3.938 kB / 413.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.391e-05/0.7124, allocations: 12 kB / 413.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-06/0.7124, allocations: 3.938 kB / 413.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.7124, allocations: 0 / 413.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.813e-05/0.7125, allocations: 87.27 kB / 414 MB, free: 13.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7125, allocations: 0 / 414 MB, free: 13.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.7128, allocations: 4 kB / 414 MB, free: 13.05 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.000162/0.7129, allocations: 99.25 kB / 414.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.7132, allocations: 31.92 kB / 414.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.7132, allocations: 0 / 414.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.7132, allocations: 0 / 414.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.7135, allocations: 24.23 kB / 414.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.7141, allocations: 139.4 kB / 414.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.7144, allocations: 0.6768 MB / 414.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.7145, allocations: 15.42 kB / 415 MB, free: 12 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.7145, allocations: 0 / 415 MB, free: 12 MB / 334.1 MB Notification: Performance of Templates: time 0.002804/0.7173, allocations: 0.601 MB / 415.6 MB, free: 11.4 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches