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.0009432/0.0009433, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 7.555 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008603/0.0008604, allocations: 109.5 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002331/0.0002331, allocations: 8 kB / 357.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1843, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08429/0.2686, allocations: 77.32 MB / 486.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.2688, allocations: 83.95 kB / 486.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002499/0.2713, allocations: 1.096 MB / 487.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2714, allocations: 0 / 487.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.2714, allocations: 8 kB / 487.9 MB, free: 12.13 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.0003104/0.2717, allocations: 347.2 kB / 488.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2717, allocations: 8.031 kB / 488.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.2718, allocations: 10.38 kB / 488.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.2719, allocations: 189.8 kB / 488.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.272, allocations: 7.938 kB / 488.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.272, allocations: 7.984 kB / 488.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.2722, allocations: 112 kB / 488.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.2722, allocations: 0 / 488.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.2723, allocations: 3.984 kB / 488.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2723, allocations: 0 / 488.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.188e-05/0.2723, allocations: 23.94 kB / 488.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.2726, allocations: 261.8 kB / 488.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.2728, allocations: 138.2 kB / 489 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.2728, allocations: 0 / 489 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.2728, allocations: 34.56 kB / 489 MB, free: 10.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.2728, allocations: 4.062 kB / 489 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002007/0.273, allocations: 73.61 kB / 489.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.2731, allocations: 81.23 kB / 489.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.2732, allocations: 121 kB / 489.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.2732, allocations: 25.7 kB / 489.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.2732, allocations: 84.14 kB / 489.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.2733, allocations: 4 kB / 489.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.2733, allocations: 3.938 kB / 489.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.2734, allocations: 318.8 kB / 489.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.2734, allocations: 4 kB / 489.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.15e-05/0.2734, allocations: 35.44 kB / 489.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.2735, allocations: 11.92 kB / 489.8 MB, free: 10 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2735, allocations: 4 kB / 489.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001039/0.2736, allocations: 73.48 kB / 489.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2736, allocations: 4 kB / 489.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2736, allocations: 0 / 489.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2736, allocations: 4 kB / 489.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-05/0.2737, allocations: 0 / 489.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2737, allocations: 4 kB / 489.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.2737, allocations: 0 / 489.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.2737, allocations: 15.92 kB / 489.9 MB, free: 9.891 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 7.52e-05/0.2738, allocations: 119.5 kB / 490 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.2739, allocations: 53.55 kB / 490.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.2739, allocations: 7.906 kB / 490.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2739, allocations: 4 kB / 490.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2739, allocations: 3.938 kB / 490.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2739, allocations: 0 / 490.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.2741, allocations: 161.7 kB / 490.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2741, allocations: 0 / 490.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-06/0.2741, allocations: 4 kB / 490.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2741, allocations: 0 / 490.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2741, allocations: 7.953 kB / 490.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2741, allocations: 7.938 kB / 490.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2741, allocations: 4.328 kB / 490.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.2743, allocations: 170.1 kB / 490.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.2743, allocations: 96.95 kB / 490.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.2744, allocations: 0 / 490.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-05/0.2744, allocations: 8 kB / 490.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.2745, allocations: 0 / 490.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.2745, allocations: 0 / 490.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.777e-05/0.2745, allocations: 107.2 kB / 490.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2745, allocations: 0 / 490.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.2747, allocations: 4 kB / 490.6 MB, free: 9.031 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 8.031e-05/0.2748, allocations: 103.2 kB / 490.7 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.2749, allocations: 31.92 kB / 490.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2749, allocations: 0 / 490.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.275, allocations: 11.94 kB / 490.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.2752, allocations: 26.25 kB / 490.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.2755, allocations: 172.5 kB / 491 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.2757, allocations: 0.6887 MB / 491.7 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.032e-05/0.2757, allocations: 0 / 491.7 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.2758, allocations: 11.44 kB / 491.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2758, allocations: 0 / 491.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of Templates: time 0.001954/0.2777, allocations: 426.1 kB / 492.1 MB, free: 7.52 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/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