Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009309/0.0009308, allocations: 176.4 kB / 8.346 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.342/1.342, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.000876/0.0008761, allocations: 94.02 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.588e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09297, allocations: 50.42 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3196/0.4126, allocations: 75.77 MB / 463.2 MB, free: 3.094 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4129, allocations: 77.92 kB / 463.3 MB, free: 3.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002598/0.4155, allocations: 1.091 MB / 464.4 MB, free: 1.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.4155, allocations: 0 / 464.4 MB, free: 1.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.4155, allocations: 3.938 kB / 464.4 MB, free: 1.934 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003185/0.4158, allocations: 347.1 kB / 464.7 MB, free: 1.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4159, allocations: 8.031 kB / 464.8 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.4159, allocations: 11.86 kB / 464.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.4161, allocations: 186.9 kB / 464.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.4161, allocations: 0 / 464.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.4162, allocations: 7.938 kB / 465 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.786e-05/0.4162, allocations: 12 kB / 465 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.4164, allocations: 105.7 kB / 465.1 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4164, allocations: 3.984 kB / 465.1 MB, free: 1.164 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4164, allocations: 0 / 465.1 MB, free: 1.164 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4165, allocations: 11.89 kB / 465.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.4167, allocations: 234.4 kB / 465.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.4169, allocations: 126.2 kB / 465.4 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.4169, allocations: 21.84 kB / 465.5 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.4169, allocations: 7.938 kB / 465.5 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.417, allocations: 30.56 kB / 465.5 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.417, allocations: 0 / 465.5 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001473/0.4171, allocations: 57.72 kB / 465.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.4172, allocations: 89.05 kB / 465.6 MB, free: 492 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.4173, allocations: 118.7 kB / 465.8 MB, free: 368 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.4173, allocations: 25.7 kB / 465.8 MB, free: 336 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.4174, allocations: 88.12 kB / 465.9 MB, free: 244 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.4174, allocations: 4 kB / 465.9 MB, free: 240 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.4174, allocations: 0 / 465.9 MB, free: 240 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4176, allocations: 314.9 kB / 466.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.4176, allocations: 8 kB / 466.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.4176, allocations: 23.44 kB / 466.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.4176, allocations: 11.98 kB / 466.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4177, allocations: 0 / 466.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.217e-05/0.4177, allocations: 49.55 kB / 466.3 MB, free: 15.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4178, allocations: 8 kB / 466.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4178, allocations: 3.188 kB / 466.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4178, allocations: 0 / 466.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.445e-05/0.4178, allocations: 11.92 kB / 466.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.4178, allocations: 0 / 466.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.4179, allocations: 7.953 kB / 466.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.4179, allocations: 0 / 466.3 MB, free: 15.78 MB / 346.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 () * 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 8.313e-05/0.418, allocations: 116.5 kB / 466.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.418, allocations: 41.62 kB / 466.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.4181, allocations: 12.34 kB / 466.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4181, allocations: 0 / 466.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4181, allocations: 0 / 466.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4181, allocations: 7.938 kB / 466.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.4183, allocations: 146.2 kB / 466.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4183, allocations: 0 / 466.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-06/0.4183, allocations: 0 / 466.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.4183, allocations: 3.938 kB / 466.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.4183, allocations: 0 / 466.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.4183, allocations: 8 kB / 466.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4183, allocations: 0 / 466.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.4185, allocations: 166 kB / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.4186, allocations: 93 kB / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.4186, allocations: 0 / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.06e-05/0.4187, allocations: 11.98 kB / 466.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.4187, allocations: 0 / 466.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.4187, allocations: 0 / 466.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.502e-05/0.4188, allocations: 101.2 kB / 467 MB, free: 15 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4188, allocations: 0 / 467 MB, free: 15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000209/0.419, allocations: 4 kB / 467 MB, free: 14.99 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.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.000121/0.4192, allocations: 107.1 kB / 467.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.4192, allocations: 12 kB / 467.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4193, allocations: 4.25 kB / 467.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/0.4193, allocations: 4 kB / 467.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.4195, allocations: 26.58 kB / 467.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.4198, allocations: 92.84 kB / 467.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.4201, allocations: 0.6924 MB / 467.9 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.495e-05/0.4201, allocations: 7.938 kB / 467.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.4201, allocations: 11.5 kB / 467.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4201, allocations: 0 / 467.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of Templates: time 0.002189/0.4223, allocations: 412.8 kB / 468.4 MB, free: 13.58 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches