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.001337/0.001337, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008931/0.000893, allocations: 86.19 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.574e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09633, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.4055, allocations: 75.59 MB / 463 MB, free: 3.258 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.4057, allocations: 79.95 kB / 463.1 MB, free: 3.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002402/0.4082, allocations: 1.035 MB / 464.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4082, allocations: 0 / 464.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.4082, allocations: 7.938 kB / 464.2 MB, free: 2.148 MB / 330.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.0003346/0.4085, allocations: 339.9 kB / 464.5 MB, free: 1.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4086, allocations: 8.031 kB / 464.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.4086, allocations: 7.953 kB / 464.5 MB, free: 1.758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.4088, allocations: 186.9 kB / 464.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.4088, allocations: 0 / 464.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.4088, allocations: 4 kB / 464.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.196e-05/0.4089, allocations: 11.94 kB / 464.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.4091, allocations: 73.12 kB / 464.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4091, allocations: 4 kB / 464.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.4091, allocations: 0 / 464.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4091, allocations: 7.953 kB / 464.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.4094, allocations: 242.3 kB / 465 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.335e-05/0.4094, allocations: 33.22 kB / 465.1 MB, free: 1.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.4095, allocations: 13.72 kB / 465.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.4095, allocations: 4 kB / 465.1 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.4095, allocations: 42.55 kB / 465.1 MB, free: 1.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4095, allocations: 0 / 465.1 MB, free: 1.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001234/0.4097, allocations: 41.56 kB / 465.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4097, allocations: 77.11 kB / 465.2 MB, free: 0.875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.4098, allocations: 123 kB / 465.4 MB, free: 0.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.4098, allocations: 29.7 kB / 465.4 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.4099, allocations: 84.12 kB / 465.5 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.568e-06/0.4099, allocations: 7.906 kB / 465.5 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.4099, allocations: 0 / 465.5 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.41, allocations: 314.8 kB / 465.8 MB, free: 312 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-06/0.41, allocations: 4 kB / 465.8 MB, free: 308 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.41, allocations: 17.72 kB / 465.8 MB, free: 284 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.333e-05/0.4101, allocations: 4.062 kB / 465.8 MB, free: 280 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4101, allocations: 0 / 465.8 MB, free: 280 kB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.613e-05/0.4101, allocations: 37.69 kB / 465.9 MB, free: 236 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4101, allocations: 8 kB / 465.9 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4102, allocations: 3.984 kB / 465.9 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.4102, allocations: 0 / 465.9 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.68e-05/0.4102, allocations: 3.938 kB / 465.9 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4102, allocations: 4 kB / 465.9 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.4102, allocations: 8.016 kB / 465.9 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.4103, allocations: 0 / 465.9 MB, free: 208 kB / 330.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 () * 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 6.164e-05/0.4103, allocations: 105 kB / 466 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.4104, allocations: 45.58 kB / 466 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.4104, allocations: 11.91 kB / 466 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4104, allocations: 0 / 466 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4104, allocations: 0 / 466 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4105, allocations: 3.938 kB / 466 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.4106, allocations: 142.2 kB / 466.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4106, allocations: 8.016 kB / 466.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-06/0.4106, allocations: 4 kB / 466.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4106, allocations: 0 / 466.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.4107, allocations: 0 / 466.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4107, allocations: 0 / 466.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4107, allocations: 3.938 kB / 466.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.4108, allocations: 158.1 kB / 466.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.4109, allocations: 89 kB / 466.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.4109, allocations: 7.984 kB / 466.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.4109, allocations: 0 / 466.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.411, allocations: 4 kB / 466.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.411, allocations: 4 kB / 466.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.954e-05/0.4111, allocations: 98.36 kB / 466.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4111, allocations: 0 / 466.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.4113, allocations: 4 kB / 466.6 MB, free: 15.44 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: 2 (sample1.u,sample1.y) * Number of discrete 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.821e-05/0.4114, allocations: 103.2 kB / 466.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.21e-05/0.4115, allocations: 11.94 kB / 466.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4115, allocations: 0 / 466.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.4115, allocations: 4 kB / 466.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.4117, allocations: 17.11 kB / 466.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.4119, allocations: 84.94 kB / 466.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.4122, allocations: 0.6924 MB / 467.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.203e-05/0.4122, allocations: 0 / 467.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.4122, allocations: 15.38 kB / 467.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4123, allocations: 0 / 467.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of Templates: time 0.001943/0.4142, allocations: 374.6 kB / 467.8 MB, free: 14.09 MB / 346.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/jenkins/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