Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 176.3 kB / 17.4 MB, free: 4.422 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.511/1.511, allocations: 223.3 MB / 241.4 MB, free: 11.67 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.0008534/0.0008533, allocations: 105.4 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 15.94 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2936, allocations: 50.4 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09908/0.3928, allocations: 76.35 MB / 479.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.3931, allocations: 78.67 kB / 479.2 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002603/0.3957, allocations: 1.041 MB / 480.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.3957, allocations: 0 / 480.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3957, allocations: 7.938 kB / 480.2 MB, free: 2.883 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003418/0.3961, allocations: 347.4 kB / 480.6 MB, free: 2.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3961, allocations: 8.031 kB / 480.6 MB, free: 2.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.3962, allocations: 8.844 kB / 480.6 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.3963, allocations: 191.1 kB / 480.8 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3964, allocations: 4.375 kB / 480.8 MB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.3964, allocations: 4.375 kB / 480.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.3966, allocations: 93.61 kB / 480.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3966, allocations: 192 / 480.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3966, allocations: 3.938 kB / 480.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.3966, allocations: 0 / 480.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.3967, allocations: 12 kB / 480.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.397, allocations: 257.8 kB / 481.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.11e-05/0.3971, allocations: 49.09 kB / 481.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.3972, allocations: 13.78 kB / 481.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3972, allocations: 0 / 481.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3972, allocations: 50.48 kB / 481.2 MB, free: 1.672 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3972, allocations: 0 / 481.2 MB, free: 1.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000193/0.3974, allocations: 57.59 kB / 481.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.3975, allocations: 81.05 kB / 481.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3976, allocations: 129.8 kB / 481.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3976, allocations: 25.7 kB / 481.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.3977, allocations: 84.39 kB / 481.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.3977, allocations: 8 kB / 481.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.3977, allocations: 0 / 481.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3978, allocations: 314.8 kB / 481.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.3979, allocations: 4 kB / 481.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.3979, allocations: 17.72 kB / 482 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.449e-05/0.398, allocations: 25.77 kB / 482 MB, free: 0.875 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.398, allocations: 7.938 kB / 482 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.075e-05/0.3981, allocations: 57.47 kB / 482 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3981, allocations: 4 kB / 482 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3981, allocations: 4 kB / 482.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.3981, allocations: 0 / 482.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.178e-05/0.3982, allocations: 4.062 kB / 482.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3982, allocations: 0 / 482.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.3982, allocations: 7.938 kB / 482.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3982, allocations: 0 / 482.1 MB, free: 0.7852 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.582e-05/0.3983, allocations: 123.3 kB / 482.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.3984, allocations: 37.69 kB / 482.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.3984, allocations: 7.531 kB / 482.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3984, allocations: 7.984 kB / 482.2 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3984, allocations: 4.031 kB / 482.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3984, allocations: 0 / 482.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.3986, allocations: 169.6 kB / 482.4 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3986, allocations: 0 / 482.4 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-06/0.3986, allocations: 0 / 482.4 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3986, allocations: 4 kB / 482.4 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3986, allocations: 0 / 482.4 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3987, allocations: 0 / 482.4 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3987, allocations: 0 / 482.4 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.3988, allocations: 164.2 kB / 482.6 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.3989, allocations: 93 kB / 482.7 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.3989, allocations: 0 / 482.7 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.399, allocations: 4 kB / 482.7 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.399, allocations: 3.984 kB / 482.7 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.399, allocations: 4 kB / 482.7 MB, free: 76 kB / 346.7 MB Notification: Performance of sorting global known variables: time 6.944e-05/0.3991, allocations: 98.36 kB / 482.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3991, allocations: 4.031 kB / 482.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.3993, allocations: 8 kB / 482.8 MB, free: 15.97 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.852e-05/0.3994, allocations: 95.25 kB / 482.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.3995, allocations: 19.92 kB / 482.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.3995, allocations: 0 / 482.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.669e-05/0.3996, allocations: 8.125 kB / 482.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3999, allocations: 24.02 kB / 482.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.4002, allocations: 149.7 kB / 483.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.4004, allocations: 0.6887 MB / 483.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.563e-05/0.4005, allocations: 8.094 kB / 483.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.4005, allocations: 11.44 kB / 483.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4005, allocations: 0 / 483.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Templates: time 0.002168/0.4027, allocations: 376.8 kB / 484.1 MB, free: 14.54 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches