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.001263/0.001263, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.001346/0.001346, allocations: 192 kB / 18.63 MB, free: 4.375 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.425/1.425, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 51.39 kB / 302.1 MB, free: 5.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1179, allocations: 49.45 MB / 351.5 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003747/0.1217, allocations: 1.868 MB / 353.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1236, allocations: 1.071 MB / 354.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1237, allocations: 7.938 kB / 354.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006582/0.1244, allocations: 143.5 kB / 354.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.1247, allocations: 115.5 kB / 354.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.1252, allocations: 206.4 kB / 354.9 MB, free: 328 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.1255, allocations: 183.5 kB / 355.1 MB, free: 144 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1256, allocations: 29.55 kB / 355.1 MB, free: 116 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1258, allocations: 75.62 kB / 355.2 MB, free: 40 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1259, allocations: 71.69 kB / 355.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.1259, allocations: 8 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1261, allocations: 55.97 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.1262, allocations: 51.77 kB / 355.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.409e-05/0.1262, allocations: 63.55 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.1266, allocations: 207.3 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1266, allocations: 0 / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1266, allocations: 0 / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1266, allocations: 0 / 355.6 MB, free: 15.59 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.0007936/0.1274, allocations: 0.5117 MB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1274, allocations: 15.89 kB / 356.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.1275, allocations: 20.75 kB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.1279, allocations: 262.8 kB / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1279, allocations: 4.375 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.128, allocations: 12.12 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.1284, allocations: 146.7 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1284, allocations: 3.938 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1284, allocations: 4 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.1284, allocations: 0 / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.804e-05/0.1285, allocations: 31.98 kB / 356.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.1291, allocations: 362.3 kB / 357 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1293, allocations: 107.9 kB / 357.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.1294, allocations: 50.56 kB / 357.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.1294, allocations: 7.984 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.1296, allocations: 75.33 kB / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.1296, allocations: 0 / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003548/0.13, allocations: 133.6 kB / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.1301, allocations: 144.5 kB / 357.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1303, allocations: 264.8 kB / 357.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1304, allocations: 29.7 kB / 357.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.1305, allocations: 116.1 kB / 357.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.1305, allocations: 19.73 kB / 357.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.1305, allocations: 29.72 kB / 358 MB, free: 13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1307, allocations: 330.8 kB / 358.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.1307, allocations: 27.94 kB / 358.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-05/0.1308, allocations: 73.94 kB / 358.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.131, allocations: 76.25 kB / 358.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.131, allocations: 0 / 358.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002047/0.1312, allocations: 117.4 kB / 358.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1313, allocations: 4 kB / 358.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1313, allocations: 4 kB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1313, allocations: 0 / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.1314, allocations: 16.11 kB / 358.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1314, allocations: 4 kB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.1315, allocations: 15.84 kB / 358.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1315, allocations: 4 kB / 358.6 MB, free: 12.29 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.0001159/0.1316, allocations: 150.5 kB / 358.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.1317, allocations: 61.5 kB / 358.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.1318, allocations: 21.7 kB / 358.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1318, allocations: 0 / 358.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1318, allocations: 8.062 kB / 358.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.1318, allocations: 11.92 kB / 358.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.132, allocations: 221.5 kB / 359.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.132, allocations: 3.938 kB / 359.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.132, allocations: 8 kB / 359.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.132, allocations: 4 kB / 359.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.132, allocations: 3.984 kB / 359.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.132, allocations: 3.938 kB / 359.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1321, allocations: 4 kB / 359.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.1324, allocations: 158.4 kB / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1325, allocations: 104.9 kB / 359.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.1326, allocations: 4 kB / 359.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.1326, allocations: 8 kB / 359.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1327, allocations: 4.078 kB / 359.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1327, allocations: 11.88 kB / 359.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001765/0.1329, allocations: 200.5 kB / 359.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1329, allocations: 0 / 359.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1331, allocations: 24 kB / 359.6 MB, free: 11.18 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.0009774/0.1341, allocations: 416.3 kB / 360 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1343, allocations: 63.91 kB / 360.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1343, allocations: 4.188 kB / 360.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.1344, allocations: 31.98 kB / 360.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.1348, allocations: 68.09 kB / 360.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.1354, allocations: 308.7 kB / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.1357, allocations: 0.7321 MB / 361.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.679e-05/0.1358, allocations: 17.55 kB / 361.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.1359, allocations: 19.44 kB / 361.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1359, allocations: 0 / 361.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of Templates: time 0.006034/0.1419, allocations: 2.403 MB / 363.7 MB, free: 7.254 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 -s gbode -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/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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches