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.001115/0.001115, allocations: 200.1 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.721/1.721, allocations: 226.5 MB / 245.4 MB, free: 8.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008386/0.0008385, allocations: 99.92 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002196/0.0002197, allocations: 11.98 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2867, allocations: 51.28 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.4008, allocations: 77.24 MB / 486.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/0.4013, allocations: 76.67 kB / 486.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003943/0.4052, allocations: 1.107 MB / 487.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4053, allocations: 0 / 487.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.4053, allocations: 4 kB / 487.8 MB, free: 13.12 MB / 362.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.0004836/0.4058, allocations: 352.9 kB / 488.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.4058, allocations: 11.97 kB / 488.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.4059, allocations: 8.844 kB / 488.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.4062, allocations: 184.8 kB / 488.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.4062, allocations: 11.91 kB / 488.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.4062, allocations: 4.375 kB / 488.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.4066, allocations: 109.5 kB / 488.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4066, allocations: 4.188 kB / 488.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4067, allocations: 7.938 kB / 488.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4067, allocations: 0 / 488.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.4068, allocations: 19.94 kB / 488.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.4072, allocations: 257.8 kB / 488.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.4075, allocations: 146.2 kB / 488.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.4076, allocations: 25.77 kB / 488.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.4076, allocations: 0 / 488.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.4076, allocations: 34.56 kB / 489 MB, free: 11.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4077, allocations: 0 / 489 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003381/0.408, allocations: 77.52 kB / 489 MB, free: 11.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.4081, allocations: 85.11 kB / 489.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.4083, allocations: 132.9 kB / 489.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.4083, allocations: 25.7 kB / 489.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.4084, allocations: 84.05 kB / 489.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.4084, allocations: 4 kB / 489.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.4084, allocations: 4.125 kB / 489.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4086, allocations: 318.8 kB / 489.7 MB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.291e-05/0.4086, allocations: 11.94 kB / 489.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.4087, allocations: 35.36 kB / 489.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.4088, allocations: 43.38 kB / 489.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4089, allocations: 0 / 489.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00017/0.409, allocations: 65.56 kB / 489.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4091, allocations: 4 kB / 489.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4091, allocations: 8.109 kB / 489.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4091, allocations: 4 kB / 489.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.375e-05/0.4091, allocations: 0 / 489.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4092, allocations: 4 kB / 489.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.4092, allocations: 0 / 489.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4092, allocations: 4 kB / 489.8 MB, free: 10.79 MB / 362.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 0.0001259/0.4094, allocations: 123.3 kB / 490 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/0.4095, allocations: 49.59 kB / 490 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.4095, allocations: 12.23 kB / 490 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4095, allocations: 7.984 kB / 490 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4096, allocations: 0 / 490 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.4096, allocations: 3.984 kB / 490 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.4098, allocations: 165.6 kB / 490.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4098, allocations: 7.938 kB / 490.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-06/0.4099, allocations: 0 / 490.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4099, allocations: 0 / 490.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.4099, allocations: 0 / 490.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4099, allocations: 4 kB / 490.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4099, allocations: 0 / 490.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.4101, allocations: 172.2 kB / 490.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.4102, allocations: 89 kB / 490.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.4103, allocations: 0 / 490.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.4104, allocations: 11.98 kB / 490.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.4104, allocations: 0 / 490.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.4104, allocations: 4 kB / 490.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.774e-05/0.4105, allocations: 99.27 kB / 490.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4105, allocations: 0 / 490.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003897/0.4109, allocations: 8 kB / 490.6 MB, free: 9.938 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 0.0001463/0.4111, allocations: 95.25 kB / 490.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.4113, allocations: 27.92 kB / 490.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4113, allocations: 3.938 kB / 490.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.4113, allocations: 12.23 kB / 490.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.4119, allocations: 30.31 kB / 490.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.4123, allocations: 169 kB / 490.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.4127, allocations: 0.6887 MB / 491.6 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.4127, allocations: 8.062 kB / 491.6 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.4128, allocations: 11.44 kB / 491.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4128, allocations: 0 / 491.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003295/0.4161, allocations: 438 kB / 492 MB, free: 8.422 MB / 362.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/jenkins1/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