Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001456/0.001456, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.5/1.5, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001006, allocations: 46.78 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1168, allocations: 49.45 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003797/0.1207, allocations: 1.879 MB / 353.4 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1225, allocations: 1.029 MB / 354.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.1227, allocations: 11.94 kB / 354.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.1233, allocations: 147.5 kB / 354.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.1237, allocations: 111.6 kB / 354.7 MB, free: 496 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.1243, allocations: 209.3 kB / 354.9 MB, free: 292 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.1246, allocations: 183.5 kB / 355.1 MB, free: 108 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1248, allocations: 29.55 kB / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1249, allocations: 79.62 kB / 355.2 MB, free: 0 / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1251, allocations: 75.75 kB / 355.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.1251, allocations: 11.94 kB / 355.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.1253, allocations: 47.86 kB / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.1253, allocations: 43.84 kB / 355.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.531e-05/0.1254, allocations: 71.47 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.1258, allocations: 207.3 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1258, allocations: 4 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1258, allocations: 0 / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1258, allocations: 0 / 355.6 MB, free: 15.55 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.0008105/0.1266, allocations: 0.5001 MB / 356.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1267, allocations: 15.89 kB / 356.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.1268, allocations: 16.75 kB / 356.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.1271, allocations: 270.7 kB / 356.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1271, allocations: 12.36 kB / 356.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1272, allocations: 8.125 kB / 356.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1275, allocations: 142.7 kB / 356.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1275, allocations: 4 kB / 356.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1275, allocations: 0 / 356.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1275, allocations: 0 / 356.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1276, allocations: 39.92 kB / 356.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.1282, allocations: 354.4 kB / 357 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.1284, allocations: 115.8 kB / 357.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.428e-05/0.1285, allocations: 42.56 kB / 357.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1285, allocations: 4 kB / 357.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.1287, allocations: 71.39 kB / 357.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 3.116e-06/0.1287, allocations: 3.984 kB / 357.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003754/0.1291, allocations: 141.5 kB / 357.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.1291, allocations: 132.5 kB / 357.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.1294, allocations: 269.2 kB / 357.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1295, allocations: 25.7 kB / 357.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.1295, allocations: 116.1 kB / 357.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.1296, allocations: 27.8 kB / 357.9 MB, free: 13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1296, allocations: 25.72 kB / 357.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1298, allocations: 334.8 kB / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.1299, allocations: 20 kB / 358.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.13, allocations: 81.92 kB / 358.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1301, allocations: 72.23 kB / 358.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1301, allocations: 8.016 kB / 358.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002015/0.1303, allocations: 109.4 kB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1303, allocations: 4 kB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1303, allocations: 4 kB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1304, allocations: 3.984 kB / 358.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.1305, allocations: 11.94 kB / 358.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1305, allocations: 7.938 kB / 358.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.1305, allocations: 11.84 kB / 358.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1306, allocations: 12.12 kB / 358.6 MB, free: 12.25 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,sample1.u,subSample1.y,subSample1.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.0001206/0.1307, allocations: 142.3 kB / 358.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.1308, allocations: 69.44 kB / 358.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.1308, allocations: 21.7 kB / 358.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1308, allocations: 0 / 358.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1309, allocations: 0 / 358.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1309, allocations: 7.938 kB / 358.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.1311, allocations: 221.5 kB / 359 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1311, allocations: 4.062 kB / 359 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.1311, allocations: 11.92 kB / 359 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1311, allocations: 0 / 359 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1311, allocations: 8 kB / 359.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1311, allocations: 4.062 kB / 359.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1311, allocations: 0 / 359.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1314, allocations: 162.4 kB / 359.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/0.1315, allocations: 108.9 kB / 359.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.1315, allocations: 4 kB / 359.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.1316, allocations: 0 / 359.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.1316, allocations: 11.98 kB / 359.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1316, allocations: 7.938 kB / 359.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.1318, allocations: 196.5 kB / 359.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1318, allocations: 0 / 359.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1321, allocations: 28 kB / 359.6 MB, free: 11.15 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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.0009559/0.1331, allocations: 431.5 kB / 360 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1333, allocations: 67.86 kB / 360.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1333, allocations: 0 / 360.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/0.1334, allocations: 23.98 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.1338, allocations: 60.84 kB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.1343, allocations: 316.6 kB / 360.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1346, allocations: 0.7241 MB / 361.2 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.367e-05/0.1347, allocations: 25.53 kB / 361.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.1348, allocations: 31.36 kB / 361.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1348, allocations: 0 / 361.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of Templates: time 0.005741/0.1405, allocations: 2.396 MB / 363.6 MB, free: 7.219 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches