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.001408/0.001408, allocations: 180.8 kB / 16.39 MB, free: 5.762 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.351/1.351, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0009663/0.0009665, allocations: 105.1 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003088, allocations: 8 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2864, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.3884, allocations: 76.33 MB / 477.8 MB, free: 4.172 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.3888, allocations: 76.64 kB / 477.9 MB, free: 4.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002843/0.3917, allocations: 1.039 MB / 478.9 MB, free: 3.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.567e-05/0.3917, allocations: 0 / 478.9 MB, free: 3.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.3917, allocations: 5 kB / 478.9 MB, free: 3.055 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.000434/0.3922, allocations: 354.5 kB / 479.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.3922, allocations: 8.031 kB / 479.3 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.3923, allocations: 11.86 kB / 479.3 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3925, allocations: 179 kB / 479.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3925, allocations: 0 / 479.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.3925, allocations: 0 / 479.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.3928, allocations: 95.33 kB / 479.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3928, allocations: 4 kB / 479.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3928, allocations: 0 / 479.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3928, allocations: 0 / 479.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.3929, allocations: 23.88 kB / 479.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.3933, allocations: 257.7 kB / 479.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.211e-05/0.3934, allocations: 45.2 kB / 479.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3934, allocations: 7.938 kB / 479.9 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.3934, allocations: 30.56 kB / 479.9 MB, free: 1.879 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3934, allocations: 0 / 479.9 MB, free: 1.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002067/0.3936, allocations: 61.64 kB / 480 MB, free: 1.812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.3937, allocations: 81.36 kB / 480.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3938, allocations: 121 kB / 480.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3939, allocations: 25.7 kB / 480.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.3939, allocations: 84.14 kB / 480.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.3939, allocations: 3.906 kB / 480.3 MB, free: 1.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.3939, allocations: 0 / 480.3 MB, free: 1.469 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3941, allocations: 318.8 kB / 480.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.3941, allocations: 7.984 kB / 480.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.3941, allocations: 17.72 kB / 480.6 MB, free: 1.117 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.3942, allocations: 8 kB / 480.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3942, allocations: 3.938 kB / 480.7 MB, free: 1.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.793e-05/0.3943, allocations: 53.56 kB / 480.7 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3943, allocations: 4 kB / 480.7 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3943, allocations: 4.125 kB / 480.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3943, allocations: 4 kB / 480.7 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-05/0.3944, allocations: 0 / 480.7 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3944, allocations: 3.953 kB / 480.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.3944, allocations: 3.984 kB / 480.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3944, allocations: 4 kB / 480.7 MB, free: 1.023 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 8.815e-05/0.3945, allocations: 119.3 kB / 480.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.3946, allocations: 37.61 kB / 480.9 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.3946, allocations: 11.55 kB / 480.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3946, allocations: 4 kB / 480.9 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3946, allocations: 4 kB / 480.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3946, allocations: 3.953 kB / 480.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.3948, allocations: 161.7 kB / 481.1 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3948, allocations: 3.984 kB / 481.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-06/0.3948, allocations: 0 / 481.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3948, allocations: 0 / 481.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3948, allocations: 4 kB / 481.1 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3948, allocations: 0 / 481.1 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3949, allocations: 0 / 481.1 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.395, allocations: 170 kB / 481.2 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.3951, allocations: 92.98 kB / 481.3 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.3951, allocations: 0 / 481.3 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.3952, allocations: 4 kB / 481.3 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.3952, allocations: 7.984 kB / 481.3 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.3952, allocations: 4 kB / 481.3 MB, free: 312 kB / 346.7 MB Notification: Performance of sorting global known variables: time 6.656e-05/0.3953, allocations: 107.2 kB / 481.5 MB, free: 204 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3953, allocations: 0 / 481.5 MB, free: 204 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002109/0.3955, allocations: 4 kB / 481.5 MB, free: 200 kB / 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 () * 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 8.792e-05/0.3956, allocations: 95.25 kB / 481.5 MB, free: 96 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.3957, allocations: 23.98 kB / 481.6 MB, free: 72 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3957, allocations: 4.062 kB / 481.6 MB, free: 68 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.457e-05/0.3958, allocations: 4 kB / 481.6 MB, free: 64 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.396, allocations: 14.95 kB / 481.6 MB, free: 52 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.3963, allocations: 157 kB / 481.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3966, allocations: 0.6965 MB / 482.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.738e-05/0.3967, allocations: 4 kB / 482.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.3967, allocations: 11.44 kB / 482.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3967, allocations: 3.938 kB / 482.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Templates: time 0.002307/0.399, allocations: 374.5 kB / 482.8 MB, free: 14.76 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/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