Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 98.42 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.049e-05, allocations: 7.984 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 51.47 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3324/0.4418, allocations: 76.58 MB / 471.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4421, allocations: 74.95 kB / 471.8 MB, free: 14.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002546/0.4447, allocations: 1.099 MB / 472.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4447, allocations: 0 / 472.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.4447, allocations: 3.719 kB / 472.9 MB, free: 13.95 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.0002665/0.445, allocations: 336.4 kB / 473.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.445, allocations: 8.031 kB / 473.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.4451, allocations: 8.531 kB / 473.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.4452, allocations: 194.2 kB / 473.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.4452, allocations: 6.828 kB / 473.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.4453, allocations: 0 / 473.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.362e-05/0.4453, allocations: 12.23 kB / 473.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.4455, allocations: 105.1 kB / 473.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.4455, allocations: 0 / 473.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4455, allocations: 0 / 473.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4455, allocations: 4 kB / 473.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.4458, allocations: 245.9 kB / 473.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.4459, allocations: 128.6 kB / 473.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.4459, allocations: 18.17 kB / 474 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.446, allocations: 7.438 kB / 474 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.446, allocations: 40.09 kB / 474 MB, free: 12.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.446, allocations: 0 / 474 MB, free: 12.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001348/0.4461, allocations: 47.02 kB / 474.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.4462, allocations: 81.16 kB / 474.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.4463, allocations: 121 kB / 474.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.4463, allocations: 25.7 kB / 474.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.4463, allocations: 83.16 kB / 474.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.4463, allocations: 4 kB / 474.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-06/0.4463, allocations: 4.031 kB / 474.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.4464, allocations: 318.2 kB / 474.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.4464, allocations: 5.969 kB / 474.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.4464, allocations: 30.8 kB / 474.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.83e-05/0.4464, allocations: 5.219 kB / 474.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4465, allocations: 4 kB / 474.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.097e-05/0.4465, allocations: 51.89 kB / 474.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4465, allocations: 13.67 kB / 474.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4466, allocations: 1.125 kB / 474.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4466, allocations: 0 / 474.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.101e-05/0.4466, allocations: 4 kB / 474.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4466, allocations: 5.25 kB / 474.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.385e-05/0.4466, allocations: 4 kB / 474.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.4466, allocations: 8.062 kB / 474.8 MB, free: 11.94 MB / 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 () * 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 4.177e-05/0.4467, allocations: 106.5 kB / 474.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.4468, allocations: 40.48 kB / 475 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.4468, allocations: 17.33 kB / 475 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.4468, allocations: 0 / 475 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4468, allocations: 4 kB / 475 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4468, allocations: 1.406 kB / 475 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.4469, allocations: 139.9 kB / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4469, allocations: 0 / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-06/0.4469, allocations: 4 kB / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.447, allocations: 2.812 kB / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.447, allocations: 1.453 kB / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.447, allocations: 7.938 kB / 475.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.447, allocations: 3.953 kB / 475.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.087e-05/0.4471, allocations: 163.7 kB / 475.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.4471, allocations: 93.61 kB / 475.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.4471, allocations: 0 / 475.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.4472, allocations: 12.22 kB / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.4472, allocations: 0 / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.4472, allocations: 0 / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.4473, allocations: 103.9 kB / 475.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4473, allocations: 4 kB / 475.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.4475, allocations: 4 kB / 475.5 MB, free: 11.22 MB / 346.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 () * 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 8.961e-05/0.4476, allocations: 95.25 kB / 475.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.87e-05/0.4477, allocations: 21.05 kB / 475.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4477, allocations: 0 / 475.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.876e-06/0.4477, allocations: 4 kB / 475.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.4479, allocations: 18.33 kB / 475.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.4481, allocations: 98.77 kB / 475.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.4483, allocations: 0.6908 MB / 476.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.959e-05/0.4483, allocations: 4 kB / 476.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.4483, allocations: 11.44 kB / 476.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4483, allocations: 0 / 476.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of Templates: time 0.002084/0.4504, allocations: 408.6 kB / 476.8 MB, free: 10.04 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches