Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.72 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1256, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003028/0.1287, allocations: 1.483 MB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009095/0.1296, allocations: 0.4886 MB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.1297, allocations: 3.938 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.1297, allocations: 3.938 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.1299, allocations: 11.92 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.1301, allocations: 31.91 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.1302, allocations: 51.84 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1303, allocations: 15.98 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.614e-05/0.1304, allocations: 23.86 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.1305, allocations: 23.86 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1305, allocations: 4 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.1305, allocations: 4 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.1306, allocations: 11.97 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.1306, allocations: 23.88 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.1307, allocations: 39.88 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1308, allocations: 0 / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1308, allocations: 0 / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1308, allocations: 0 / 361.1 MB, free: 11.1 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006179/0.1314, allocations: 387.3 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1315, allocations: 8.031 kB / 361.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.1315, allocations: 4.938 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.1318, allocations: 192.2 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1318, allocations: 4.375 kB / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1318, allocations: 16.3 kB / 361.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.1322, allocations: 135.5 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1322, allocations: 3.984 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1322, allocations: 4 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1323, allocations: 7.984 kB / 361.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1324, allocations: 27.98 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.1325, allocations: 161.7 kB / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.1327, allocations: 143.6 kB / 362.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.896e-05/0.1328, allocations: 28.84 kB / 362.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1329, allocations: 4 kB / 362.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1329, allocations: 38.5 kB / 362.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1329, allocations: 0 / 362.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002626/0.1332, allocations: 85.58 kB / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.1332, allocations: 55.41 kB / 362.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.1333, allocations: 113.8 kB / 362.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1334, allocations: 25.7 kB / 362.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.1334, allocations: 92.14 kB / 362.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.1334, allocations: 3.984 kB / 362.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.1335, allocations: 17.72 kB / 362.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1336, allocations: 318.8 kB / 363 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.1336, allocations: 7.984 kB / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.1336, allocations: 37.47 kB / 363 MB, free: 8.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.513e-05/0.1337, allocations: 61.09 kB / 363.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1337, allocations: 0 / 363.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001113/0.1338, allocations: 85.45 kB / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1339, allocations: 7.938 kB / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1339, allocations: 4.156 kB / 363.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1339, allocations: 0 / 363.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.134, allocations: 11.94 kB / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.134, allocations: 3.984 kB / 363.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.134, allocations: 7.938 kB / 363.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.134, allocations: 4 kB / 363.2 MB, free: 8.754 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.386e-05/0.1341, allocations: 118 kB / 363.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.1342, allocations: 85.39 kB / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.1343, allocations: 12.38 kB / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1343, allocations: 320 / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1343, allocations: 0 / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1343, allocations: 0 / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.1344, allocations: 165.6 kB / 363.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1344, allocations: 0 / 363.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/0.1345, allocations: 8 kB / 363.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1345, allocations: 7.938 kB / 363.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1345, allocations: 4 kB / 363.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1345, allocations: 0 / 363.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1345, allocations: 0 / 363.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1347, allocations: 101 kB / 363.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.1348, allocations: 85.03 kB / 363.8 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1348, allocations: 4 kB / 363.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.1349, allocations: 15.98 kB / 363.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-06/0.1349, allocations: 3.938 kB / 363.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1349, allocations: 4 kB / 363.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.124e-05/0.135, allocations: 87.27 kB / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.135, allocations: 0 / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001977/0.1352, allocations: 12 kB / 363.9 MB, free: 7.953 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001052/0.1353, allocations: 99.25 kB / 364 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.1354, allocations: 39.92 kB / 364 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1355, allocations: 0 / 364 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.1355, allocations: 0 / 364 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1358, allocations: 39.58 kB / 364.1 MB, free: 7.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.1361, allocations: 145.4 kB / 364.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.1364, allocations: 0.6849 MB / 364.9 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.542e-05/0.1365, allocations: 7.984 kB / 364.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.1365, allocations: 11.44 kB / 364.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1365, allocations: 0 / 364.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of Templates: time 0.003018/0.1395, allocations: 0.64 MB / 365.5 MB, free: 6.238 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches