Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001557/0.001557, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001756/0.001756, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 68.34 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1431, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004548/0.1477, allocations: 1.893 MB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.1507, allocations: 1.22 MB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.151, allocations: 7.938 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000826/0.1519, allocations: 147.5 kB / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005169/0.1524, allocations: 163.4 kB / 362.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.1531, allocations: 179 kB / 362.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.1534, allocations: 191.4 kB / 362.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1536, allocations: 33.53 kB / 362.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1537, allocations: 79.62 kB / 362.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1538, allocations: 71.69 kB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1539, allocations: 8 kB / 362.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.154, allocations: 55.97 kB / 362.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.036e-05/0.1541, allocations: 51.77 kB / 363 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.265e-05/0.1542, allocations: 79.42 kB / 363.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.1545, allocations: 211.3 kB / 363.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1545, allocations: 0 / 363.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.1545, allocations: 0 / 363.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1546, allocations: 0 / 363.3 MB, free: 8.934 MB / 302.1 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.0008003/0.1554, allocations: 0.5117 MB / 363.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1554, allocations: 12.03 kB / 363.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1555, allocations: 20.66 kB / 363.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.1559, allocations: 274.8 kB / 364.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.156, allocations: 384 / 364.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.156, allocations: 12.12 kB / 364.1 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.1563, allocations: 146.7 kB / 364.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1564, allocations: 3.938 kB / 364.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.1564, allocations: 4 kB / 364.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.1564, allocations: 4 kB / 364.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1565, allocations: 27.98 kB / 364.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.1571, allocations: 370.3 kB / 364.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1574, allocations: 103.9 kB / 364.7 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.1575, allocations: 42.56 kB / 364.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.1575, allocations: 4 kB / 364.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.1577, allocations: 79.31 kB / 364.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.1577, allocations: 0 / 364.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.00039/0.1581, allocations: 137.4 kB / 365 MB, free: 6.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.1582, allocations: 136.8 kB / 365.1 MB, free: 6.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.1585, allocations: 272.9 kB / 365.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1586, allocations: 29.7 kB / 365.4 MB, free: 6.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.1586, allocations: 116.1 kB / 365.5 MB, free: 6.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.1587, allocations: 23.73 kB / 365.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.1587, allocations: 33.7 kB / 365.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1589, allocations: 330.8 kB / 365.9 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.43e-05/0.1589, allocations: 28.17 kB / 365.9 MB, free: 5.961 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/0.159, allocations: 66 kB / 366 MB, free: 5.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1592, allocations: 84.25 kB / 366.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1592, allocations: 0 / 366.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001988/0.1594, allocations: 121.3 kB / 366.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1594, allocations: 4 kB / 366.2 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1594, allocations: 4 kB / 366.2 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1594, allocations: 0 / 366.2 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.1595, allocations: 12 kB / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1595, allocations: 0 / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.1596, allocations: 19.95 kB / 366.2 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.1596, allocations: 4 kB / 366.2 MB, free: 5.609 MB / 302.1 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 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.1598, allocations: 149.6 kB / 366.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.1599, allocations: 57.52 kB / 366.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.1599, allocations: 25.7 kB / 366.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1599, allocations: 0 / 366.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.16, allocations: 4 kB / 366.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.16, allocations: 8 kB / 366.5 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.1602, allocations: 233.5 kB / 366.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1602, allocations: 7.938 kB / 366.7 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.1602, allocations: 8 kB / 366.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1603, allocations: 0 / 366.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1603, allocations: 0 / 366.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-06/0.1603, allocations: 7.984 kB / 366.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1603, allocations: 4.062 kB / 366.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1606, allocations: 162.5 kB / 366.9 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1607, allocations: 100.9 kB / 367 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.1607, allocations: 3.984 kB / 367 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.205e-05/0.1608, allocations: 8 kB / 367 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.1608, allocations: 4 kB / 367 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.1609, allocations: 11.92 kB / 367 MB, free: 4.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.1611, allocations: 200.5 kB / 367.2 MB, free: 4.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1611, allocations: 4 kB / 367.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1614, allocations: 35.91 kB / 367.3 MB, free: 4.484 MB / 302.1 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/0.1624, allocations: 401.6 kB / 367.6 MB, free: 4.223 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.1627, allocations: 71.91 kB / 367.7 MB, free: 4.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1627, allocations: 0 / 367.7 MB, free: 4.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.78e-05/0.1628, allocations: 27.92 kB / 367.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.1633, allocations: 71.67 kB / 367.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.164, allocations: 312.7 kB / 368.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1644, allocations: 0.7243 MB / 368.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.041e-05/0.1645, allocations: 33.45 kB / 368.9 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.1645, allocations: 27.42 kB / 368.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1645, allocations: 0 / 368.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of Templates: time 0.006034/0.1706, allocations: 2.439 MB / 371.3 MB, free: 0.4961 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches