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.00156/0.00156, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 72.89 kB / 306.9 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08199/0.08327, allocations: 50.53 MB / 357.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002549/0.08586, allocations: 1.488 MB / 358.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001557/0.08603, allocations: 23.92 kB / 358.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.08611, allocations: 0 / 358.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.08615, allocations: 7.922 kB / 359 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.12e-05/0.08619, allocations: 4 kB / 359 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.0864, allocations: 15.98 kB / 359 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.08647, allocations: 31.92 kB / 359 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.078e-05/0.08656, allocations: 8 kB / 359 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.0866, allocations: 15.92 kB / 359 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.08664, allocations: 11.92 kB / 359 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.08666, allocations: 0 / 359 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.08667, allocations: 4 kB / 359 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.0867, allocations: 7.984 kB / 359 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.08673, allocations: 15.88 kB / 359.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.353e-05/0.0868, allocations: 15.97 kB / 359.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.08681, allocations: 0 / 359.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.08682, allocations: 4 kB / 359.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.08682, allocations: 0 / 359.1 MB, free: 12.75 MB / 302.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.0003779/0.08721, allocations: 346 kB / 359.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.08725, allocations: 8.031 kB / 359.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.08728, allocations: 4.844 kB / 359.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.08744, allocations: 176.4 kB / 359.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.08746, allocations: 384 / 359.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.08748, allocations: 4.375 kB / 359.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.08779, allocations: 119.8 kB / 359.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.0878, allocations: 4.125 kB / 359.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.08782, allocations: 7.938 kB / 359.7 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.08783, allocations: 0 / 359.7 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.08793, allocations: 23.97 kB / 359.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.08806, allocations: 153.7 kB / 359.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.0882, allocations: 58.53 kB / 360 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.08828, allocations: 24.92 kB / 360 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.0883, allocations: 3.938 kB / 360 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.08832, allocations: 30.56 kB / 360 MB, free: 11.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.08833, allocations: 0 / 360 MB, free: 11.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002519/0.08858, allocations: 77.52 kB / 360.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.08864, allocations: 63.39 kB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.08871, allocations: 101.9 kB / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.08874, allocations: 25.7 kB / 360.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.08877, allocations: 84.14 kB / 360.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.08879, allocations: 11.92 kB / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.08883, allocations: 13.72 kB / 360.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.08892, allocations: 314.8 kB / 360.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.08895, allocations: 7.938 kB / 360.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.432e-05/0.08899, allocations: 35.8 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.383e-05/0.08904, allocations: 39.38 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.08904, allocations: 0 / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.414e-05/0.08913, allocations: 69.59 kB / 360.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.08915, allocations: 4 kB / 360.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.08916, allocations: 7.938 kB / 360.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.08918, allocations: 0 / 360.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.436e-05/0.08922, allocations: 4 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.08923, allocations: 0 / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.08926, allocations: 4 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.08927, allocations: 0 / 360.9 MB, free: 10.71 MB / 302.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.653e-05/0.08935, allocations: 125.7 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.0895, allocations: 57.75 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.08953, allocations: 15.42 kB / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.08954, allocations: 4 kB / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.08955, allocations: 0 / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.08955, allocations: 0 / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.856e-05/0.08965, allocations: 153.7 kB / 361.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.08965, allocations: 0 / 361.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.08969, allocations: 7.922 kB / 361.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.0897, allocations: 4 kB / 361.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.08972, allocations: 3.938 kB / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.08972, allocations: 0 / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.08973, allocations: 4 kB / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.08989, allocations: 92.95 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.08993, allocations: 81.05 kB / 361.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.08996, allocations: 3.938 kB / 361.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.08999, allocations: 11.92 kB / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.09, allocations: 288 / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.09001, allocations: 0 / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.573e-05/0.09005, allocations: 87.28 kB / 361.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09006, allocations: 0 / 361.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001802/0.09024, allocations: 4 kB / 361.5 MB, free: 9.957 MB / 302.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 9.228e-05/0.09034, allocations: 99.23 kB / 361.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.09046, allocations: 43.89 kB / 361.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.09047, allocations: 0 / 361.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.09047, allocations: 0 / 361.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.09069, allocations: 20.25 kB / 361.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.09097, allocations: 149 kB / 361.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.0912, allocations: 0.6809 MB / 362.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.09123, allocations: 15.44 kB / 362.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09124, allocations: 0 / 362.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of Templates: time 0.00161/0.09285, allocations: 0.5857 MB / 363.1 MB, free: 8.305 MB / 302.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