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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008374/0.0008372, allocations: 90.34 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 181.9 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003215, allocations: 12.84 kB / 301.4 MB, free: 6.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1309, allocations: 50.42 MB / 351.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002348/0.1333, allocations: 1.585 MB / 353.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1353, allocations: 1.021 MB / 354.4 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1354, allocations: 7.938 kB / 354.5 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.1361, allocations: 139.7 kB / 354.6 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.1365, allocations: 103.7 kB / 354.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.1371, allocations: 186.2 kB / 354.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1373, allocations: 171.5 kB / 355 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1375, allocations: 25.55 kB / 355.1 MB, free: 484 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1376, allocations: 67.59 kB / 355.1 MB, free: 416 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1377, allocations: 63.69 kB / 355.2 MB, free: 352 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1377, allocations: 4 kB / 355.2 MB, free: 348 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1379, allocations: 51.95 kB / 355.2 MB, free: 296 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.1379, allocations: 43.78 kB / 355.3 MB, free: 252 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.885e-05/0.138, allocations: 81.25 kB / 355.4 MB, free: 164 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.1383, allocations: 191.6 kB / 355.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1383, allocations: 0 / 355.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1383, allocations: 0 / 355.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1383, allocations: 0 / 355.6 MB, free: 15.97 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.0007156/0.139, allocations: 484.3 kB / 356 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1391, allocations: 8.031 kB / 356 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.1391, allocations: 28.75 kB / 356.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1394, allocations: 266.7 kB / 356.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1395, allocations: 8.375 kB / 356.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1395, allocations: 8.125 kB / 356.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.1398, allocations: 146.7 kB / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1399, allocations: 0 / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1399, allocations: 3.938 kB / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1399, allocations: 0 / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.987e-05/0.14, allocations: 43.91 kB / 356.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.1406, allocations: 374.3 kB / 356.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1408, allocations: 103.9 kB / 357 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.1409, allocations: 50.56 kB / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1409, allocations: 0 / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.1411, allocations: 67.39 kB / 357.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1411, allocations: 0 / 357.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003475/0.1415, allocations: 141.3 kB / 357.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.1416, allocations: 140.8 kB / 357.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.1418, allocations: 264.9 kB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1418, allocations: 29.69 kB / 357.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.1419, allocations: 116.1 kB / 357.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1419, allocations: 15.75 kB / 357.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.142, allocations: 21.7 kB / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1421, allocations: 330.8 kB / 358.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.1422, allocations: 23.98 kB / 358.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.1423, allocations: 73.88 kB / 358.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1424, allocations: 80.25 kB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1424, allocations: 0 / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002067/0.1426, allocations: 109.4 kB / 358.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1426, allocations: 7.984 kB / 358.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1427, allocations: 0 / 358.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1427, allocations: 4 kB / 358.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.1428, allocations: 12.25 kB / 358.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1428, allocations: 4.125 kB / 358.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.534e-05/0.1429, allocations: 19.92 kB / 358.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.1429, allocations: 4 kB / 358.5 MB, free: 12.71 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.0001629/0.143, allocations: 137.8 kB / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1432, allocations: 69.3 kB / 358.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.1433, allocations: 25.7 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1433, allocations: 0 / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1433, allocations: 0 / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1433, allocations: 12 kB / 358.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.1435, allocations: 225.6 kB / 358.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1435, allocations: 0 / 358.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.1435, allocations: 15.86 kB / 359 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1435, allocations: 0 / 359 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1436, allocations: 4 kB / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1436, allocations: 0 / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1436, allocations: 0 / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1438, allocations: 162.5 kB / 359.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.621e-05/0.1439, allocations: 108.8 kB / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.1439, allocations: 4 kB / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.144, allocations: 11.98 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.1441, allocations: 4 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1441, allocations: 7.938 kB / 359.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.1443, allocations: 192.5 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1443, allocations: 4 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1446, allocations: 35.98 kB / 359.5 MB, free: 11.6 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.00101/0.1456, allocations: 419.4 kB / 359.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.1459, allocations: 71.84 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1459, allocations: 0 / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.1459, allocations: 20.23 kB / 360 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.1464, allocations: 67.27 kB / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.147, allocations: 348 kB / 360.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1473, allocations: 0.7244 MB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.186e-05/0.1474, allocations: 21.55 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.1474, allocations: 23.42 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1474, allocations: 0 / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Templates: time 0.006813/0.1543, allocations: 2.283 MB / 363.4 MB, free: 7.77 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches