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.001537/0.001537, allocations: 105 kB / 17.59 MB, free: 5.418 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.001476/0.001476, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.375/1.375, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 42.83 kB / 301.3 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1255, allocations: 49.45 MB / 350.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003496/0.1291, allocations: 1.884 MB / 352.6 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1308, allocations: 1.036 MB / 353.6 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1309, allocations: 7.938 kB / 353.7 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006029/0.1315, allocations: 149.8 kB / 353.8 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.1318, allocations: 111.5 kB / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/0.1324, allocations: 206.4 kB / 354.1 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1326, allocations: 167.5 kB / 354.3 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1327, allocations: 37.52 kB / 354.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1328, allocations: 79.58 kB / 354.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.133, allocations: 67.69 kB / 354.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.133, allocations: 8 kB / 354.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1331, allocations: 55.97 kB / 354.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.1332, allocations: 43.84 kB / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.94e-05/0.1333, allocations: 79.48 kB / 354.6 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.1336, allocations: 199.6 kB / 354.8 MB, free: 316 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1336, allocations: 0 / 354.8 MB, free: 316 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1336, allocations: 0 / 354.8 MB, free: 316 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1336, allocations: 0 / 354.8 MB, free: 316 kB / 286.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.0007479/0.1344, allocations: 0.5079 MB / 355.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1344, allocations: 11.89 kB / 355.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.1345, allocations: 24.73 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1348, allocations: 262.8 kB / 355.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1349, allocations: 4.375 kB / 355.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1349, allocations: 16.06 kB / 355.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1352, allocations: 142.7 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1352, allocations: 4 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.1353, allocations: 0 / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1353, allocations: 0 / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1354, allocations: 43.89 kB / 355.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.1359, allocations: 358.4 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.1361, allocations: 107.9 kB / 356.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.3e-05/0.1362, allocations: 46.5 kB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1362, allocations: 8 kB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.1364, allocations: 71.39 kB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1364, allocations: 0 / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000384/0.1368, allocations: 141.3 kB / 356.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.311e-05/0.1369, allocations: 140.8 kB / 356.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.1372, allocations: 256.9 kB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1372, allocations: 37.69 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.1373, allocations: 108.1 kB / 357.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.1373, allocations: 19.75 kB / 357.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.1374, allocations: 33.7 kB / 357.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1375, allocations: 330.8 kB / 357.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.1376, allocations: 19.98 kB / 357.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.1377, allocations: 70 kB / 357.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1378, allocations: 76.5 kB / 357.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1379, allocations: 4 kB / 357.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001949/0.1381, allocations: 117.4 kB / 357.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1381, allocations: 4 kB / 357.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1381, allocations: 4 kB / 357.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1381, allocations: 0 / 357.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.1382, allocations: 15.94 kB / 357.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1382, allocations: 3.938 kB / 357.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.1383, allocations: 23.95 kB / 357.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1383, allocations: 4 kB / 357.8 MB, free: 13.01 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.0001249/0.1384, allocations: 141.8 kB / 357.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.1385, allocations: 65.39 kB / 358 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.1386, allocations: 29.69 kB / 358 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1386, allocations: 0 / 358 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1386, allocations: 0 / 358 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.1386, allocations: 7.938 kB / 358 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.1388, allocations: 233.6 kB / 358.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1389, allocations: 0 / 358.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.1389, allocations: 4 kB / 358.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1389, allocations: 0 / 358.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.1389, allocations: 4 kB / 358.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1389, allocations: 0 / 358.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.1389, allocations: 7.938 kB / 358.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1392, allocations: 162.4 kB / 358.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.1393, allocations: 100.9 kB / 358.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.1393, allocations: 8 kB / 358.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.1394, allocations: 7.984 kB / 358.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.1394, allocations: 64 / 358.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1395, allocations: 11.94 kB / 358.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.1397, allocations: 196.5 kB / 358.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1397, allocations: 0 / 358.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1399, allocations: 24 kB / 358.8 MB, free: 11.91 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.0009665/0.1409, allocations: 434.2 kB / 359.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.1411, allocations: 71.84 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1411, allocations: 4 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.1412, allocations: 23.98 kB / 359.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1416, allocations: 61.12 kB / 359.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.1422, allocations: 350.3 kB / 359.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.1425, allocations: 0.7202 MB / 360.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.1426, allocations: 23.44 kB / 360.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1426, allocations: 4 kB / 360.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Templates: time 0.004637/0.1472, allocations: 2.58 MB / 363 MB, free: 7.77 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 -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