Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 180.7 kB / 16.38 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.582/1.582, allocations: 223.2 MB / 240.3 MB, free: 10.13 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.0008898/0.0008899, allocations: 99.34 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002913, allocations: 7.938 kB / 351.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3105, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.4147, allocations: 81.08 MB / 482.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004365/0.4152, allocations: 83.95 kB / 482.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01846/0.4337, allocations: 6.562 MB / 489.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.4337, allocations: 0 / 489.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.4338, allocations: 7.938 kB / 489.2 MB, free: 8.754 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006222/0.4344, allocations: 0.504 MB / 489.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4344, allocations: 8.031 kB / 489.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.4345, allocations: 19.72 kB / 489.8 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.4349, allocations: 265.7 kB / 490 MB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.4349, allocations: 4 kB / 490 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.4349, allocations: 8 kB / 490 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.4353, allocations: 154.7 kB / 490.2 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4353, allocations: 0 / 490.2 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4353, allocations: 4 kB / 490.2 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4353, allocations: 3.953 kB / 490.2 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.4354, allocations: 39.91 kB / 490.2 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.4359, allocations: 362.4 kB / 490.6 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.4361, allocations: 111.9 kB / 490.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.4361, allocations: 4 kB / 490.7 MB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.4363, allocations: 83.39 kB / 490.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.4363, allocations: 0 / 490.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003231/0.4366, allocations: 141.5 kB / 490.9 MB, free: 6.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.4367, allocations: 136.5 kB / 491 MB, free: 6.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.4369, allocations: 244.1 kB / 491.3 MB, free: 6.434 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.437, allocations: 25.7 kB / 491.3 MB, free: 6.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.4371, allocations: 116.1 kB / 491.4 MB, free: 6.285 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.4371, allocations: 23.73 kB / 491.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.4371, allocations: 0 / 491.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4372, allocations: 331 kB / 491.8 MB, free: 5.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.847e-05/0.4373, allocations: 23.98 kB / 491.8 MB, free: 5.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.473e-05/0.4374, allocations: 62 kB / 491.8 MB, free: 5.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.833e-05/0.4374, allocations: 40.2 kB / 491.9 MB, free: 5.785 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4374, allocations: 3.938 kB / 491.9 MB, free: 5.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001888/0.4376, allocations: 117.4 kB / 492 MB, free: 5.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4377, allocations: 7.953 kB / 492 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4377, allocations: 0 / 492 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.4377, allocations: 7.938 kB / 492 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.4378, allocations: 15.92 kB / 492 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4378, allocations: 4 kB / 492 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.4379, allocations: 8.125 kB / 492 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4379, allocations: 8 kB / 492.1 MB, free: 5.609 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001061/0.438, allocations: 137.8 kB / 492.2 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.4381, allocations: 69.34 kB / 492.3 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.4383, allocations: 115.4 kB / 492.4 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4383, allocations: 11.92 kB / 492.4 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4383, allocations: 4.062 kB / 492.4 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4384, allocations: 0 / 492.4 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.4386, allocations: 225.6 kB / 492.6 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4386, allocations: 0 / 492.6 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.4386, allocations: 12 kB / 492.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.4386, allocations: 0 / 492.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.4386, allocations: 3.984 kB / 492.6 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.4386, allocations: 7.953 kB / 492.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4386, allocations: 0 / 492.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.4389, allocations: 178 kB / 492.8 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.439, allocations: 124.7 kB / 492.9 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.4391, allocations: 7.984 kB / 492.9 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.4391, allocations: 4 kB / 492.9 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.4392, allocations: 8 kB / 492.9 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.4392, allocations: 11.98 kB / 493 MB, free: 4.578 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.4394, allocations: 188.5 kB / 493.1 MB, free: 4.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4394, allocations: 4 kB / 493.1 MB, free: 4.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.4396, allocations: 32 kB / 493.2 MB, free: 4.355 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008916/0.4405, allocations: 441 kB / 493.6 MB, free: 4.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.4408, allocations: 76.08 kB / 493.7 MB, free: 4.012 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4408, allocations: 0 / 493.7 MB, free: 4.012 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.555e-05/0.4408, allocations: 27.94 kB / 493.7 MB, free: 3.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.4412, allocations: 52.42 kB / 493.8 MB, free: 3.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.4417, allocations: 341.2 kB / 494.1 MB, free: 3.562 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.442, allocations: 0.74 MB / 494.8 MB, free: 2.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.41e-05/0.4421, allocations: 29.62 kB / 494.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.4421, allocations: 23.44 kB / 494.9 MB, free: 2.746 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4421, allocations: 0 / 494.9 MB, free: 2.746 MB / 362.7 MB Notification: Performance of Templates: time 0.004969/0.4471, allocations: 2.311 MB / 497.2 MB, free: 476 kB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches