Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 171.8 kB / 17.39 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 100 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 15.94 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3006, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.414, allocations: 76.54 MB / 479.3 MB, free: 3.812 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4142, allocations: 75.95 kB / 479.4 MB, free: 3.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002711/0.417, allocations: 1.114 MB / 480.5 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.417, allocations: 1.125 kB / 480.5 MB, free: 2.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.417, allocations: 7.938 kB / 480.5 MB, free: 2.621 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003519/0.4174, allocations: 346.9 kB / 480.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4174, allocations: 8.031 kB / 480.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.4175, allocations: 8.844 kB / 480.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.4176, allocations: 184.2 kB / 481 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4177, allocations: 384 / 481 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.4177, allocations: 8.312 kB / 481 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.4179, allocations: 115.6 kB / 481.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4179, allocations: 0.75 kB / 481.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.418, allocations: 3.938 kB / 481.1 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.418, allocations: 4 kB / 481.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.418, allocations: 19.98 kB / 481.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.4183, allocations: 257.8 kB / 481.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.4185, allocations: 138.2 kB / 481.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.4186, allocations: 33.77 kB / 481.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.4186, allocations: 3.938 kB / 481.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.4186, allocations: 30.56 kB / 481.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4186, allocations: 0 / 481.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002202/0.4189, allocations: 81.7 kB / 481.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.4189, allocations: 77.11 kB / 481.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.419, allocations: 131 kB / 481.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.4191, allocations: 25.7 kB / 481.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.4191, allocations: 92.05 kB / 482 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.4191, allocations: 3.984 kB / 482 MB, free: 0.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.4191, allocations: 0 / 482 MB, free: 0.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4192, allocations: 319 kB / 482.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.4193, allocations: 11.94 kB / 482.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/0.4193, allocations: 35.41 kB / 482.4 MB, free: 464 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.4194, allocations: 47.36 kB / 482.4 MB, free: 404 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4194, allocations: 3.938 kB / 482.4 MB, free: 400 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001323/0.4195, allocations: 69.5 kB / 482.5 MB, free: 324 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.4196, allocations: 4 kB / 482.5 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4196, allocations: 0 / 482.5 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4196, allocations: 8.125 kB / 482.5 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.097e-05/0.4196, allocations: 0 / 482.5 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.4196, allocations: 0 / 482.5 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.4197, allocations: 4 kB / 482.5 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.4197, allocations: 0 / 482.5 MB, free: 308 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/0.4198, allocations: 127.3 kB / 482.6 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.4198, allocations: 49.55 kB / 482.7 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.4199, allocations: 11.89 kB / 482.7 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4199, allocations: 0 / 482.7 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4199, allocations: 8 kB / 482.7 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4199, allocations: 0 / 482.7 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.4201, allocations: 169.6 kB / 482.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4201, allocations: 0 / 482.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-06/0.4201, allocations: 0 / 482.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4201, allocations: 4 kB / 482.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.4201, allocations: 0 / 482.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4201, allocations: 0 / 482.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.4201, allocations: 0 / 482.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.4203, allocations: 176.2 kB / 483.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.4203, allocations: 93 kB / 483.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.4204, allocations: 4 kB / 483.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.072e-05/0.4204, allocations: 0 / 483.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.4205, allocations: 4 kB / 483.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.4205, allocations: 0 / 483.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.085e-05/0.4205, allocations: 106.9 kB / 483.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4205, allocations: 4 kB / 483.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.4207, allocations: 4 kB / 483.3 MB, free: 15.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.611e-05/0.4208, allocations: 99.23 kB / 483.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.421, allocations: 27.92 kB / 483.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.421, allocations: 0 / 483.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.421, allocations: 8.25 kB / 483.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.4213, allocations: 28.02 kB / 483.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.4216, allocations: 165.4 kB / 483.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.4219, allocations: 0.6926 MB / 484.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.438e-05/0.4219, allocations: 4 kB / 484.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.4219, allocations: 11.44 kB / 484.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4219, allocations: 0 / 484.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Templates: time 0.00229/0.4242, allocations: 432.4 kB / 484.7 MB, free: 13.94 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches