Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 176.1 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.551/1.551, allocations: 221.5 MB / 230.3 MB, free: 7.551 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.0008793/0.000879, allocations: 99.09 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.272e-05/1.274e-05, allocations: 4 kB / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.09956, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2858/0.3854, allocations: 75.37 MB / 462.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.3857, allocations: 71.95 kB / 462.9 MB, free: 3.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001593/0.3873, allocations: 0.673 MB / 463.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.123e-06/0.3873, allocations: 0 / 463.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3874, allocations: 0 / 463.6 MB, free: 2.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003333/0.3877, allocations: 328 kB / 463.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3878, allocations: 11.97 kB / 463.9 MB, free: 2.355 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.3878, allocations: 12.48 kB / 463.9 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.388, allocations: 172.2 kB / 464.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.388, allocations: 0 / 464.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3881, allocations: 4.75 kB / 464.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.671e-05/0.3881, allocations: 18.62 kB / 464.1 MB, free: 2.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.3884, allocations: 79.33 kB / 464.2 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3884, allocations: 0 / 464.2 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3884, allocations: 0 / 464.2 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3884, allocations: 3.953 kB / 464.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.3886, allocations: 134.2 kB / 464.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.757e-05/0.3887, allocations: 50.48 kB / 464.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.3887, allocations: 16.89 kB / 464.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3887, allocations: 0 / 464.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.3888, allocations: 38.5 kB / 464.4 MB, free: 1.734 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3888, allocations: 0 / 464.4 MB, free: 1.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001444/0.3889, allocations: 45.73 kB / 464.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.389, allocations: 59.41 kB / 464.5 MB, free: 1.613 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.3891, allocations: 93 kB / 464.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3891, allocations: 25.7 kB / 464.7 MB, free: 1.484 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.3891, allocations: 84.12 kB / 464.7 MB, free: 1.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/0.3892, allocations: 4 kB / 464.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.3892, allocations: 0 / 464.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3893, allocations: 322.7 kB / 465.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-06/0.3893, allocations: 0 / 465.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.3894, allocations: 31.44 kB / 465.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.608e-05/0.3894, allocations: 7.984 kB / 465.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3894, allocations: 0 / 465.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.728e-05/0.3895, allocations: 49.58 kB / 465.1 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3895, allocations: 4 kB / 465.1 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3895, allocations: 4.125 kB / 465.1 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3895, allocations: 4 kB / 465.2 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.498e-05/0.3896, allocations: 7.984 kB / 465.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.3896, allocations: 0 / 465.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.3896, allocations: 0 / 465.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3896, allocations: 11.94 kB / 465.2 MB, free: 0.9336 MB / 330.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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 6.91e-05/0.3897, allocations: 104.9 kB / 465.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.3898, allocations: 45.69 kB / 465.3 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.3898, allocations: 4.125 kB / 465.3 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3898, allocations: 4 kB / 465.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3898, allocations: 0 / 465.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3898, allocations: 4 kB / 465.3 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.708e-05/0.3899, allocations: 146 kB / 465.5 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.39, allocations: 0 / 465.5 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.39, allocations: 4 kB / 465.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.39, allocations: 0 / 465.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.39, allocations: 0 / 465.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.39, allocations: 0 / 465.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.39, allocations: 3.984 kB / 465.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.685e-05/0.3901, allocations: 77.06 kB / 465.6 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.3902, allocations: 81.06 kB / 465.6 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.3902, allocations: 0 / 465.6 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.8e-05/0.3902, allocations: 4 kB / 465.6 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-06/0.3902, allocations: 0.9375 kB / 465.6 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3902, allocations: 0 / 465.6 MB, free: 380 kB / 330.7 MB Notification: Performance of sorting global known variables: time 5.261e-05/0.3903, allocations: 83.28 kB / 465.7 MB, free: 296 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3903, allocations: 0 / 465.7 MB, free: 296 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.3905, allocations: 8 kB / 465.7 MB, free: 288 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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 0.0001085/0.3906, allocations: 95.92 kB / 465.8 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.8e-05/0.3907, allocations: 23.92 kB / 465.8 MB, free: 160 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3907, allocations: 0 / 465.8 MB, free: 160 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-07/0.3907, allocations: 0 / 465.8 MB, free: 160 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.3909, allocations: 16.69 kB / 465.9 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001923/0.3911, allocations: 67.95 kB / 465.9 MB, free: 52 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3913, allocations: 0.6848 MB / 466.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.192e-05/0.3914, allocations: 0 / 466.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.3914, allocations: 7.438 kB / 466.6 MB, free: 15.33 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3914, allocations: 0 / 466.6 MB, free: 15.33 MB / 346.7 MB Notification: Performance of Templates: time 0.002027/0.3934, allocations: 277.6 kB / 466.9 MB, free: 15.06 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches