Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001173/0.001173, allocations: 192 kB / 18.62 MB, free: 4.41 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.471/1.471, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 45.27 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1276, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00299/0.1306, allocations: 1.468 MB / 353 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007828/0.1315, allocations: 456.3 kB / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.1315, allocations: 0 / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.1316, allocations: 3.938 kB / 353.4 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.1318, allocations: 19.84 kB / 353.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.1319, allocations: 27.97 kB / 353.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1321, allocations: 59.72 kB / 353.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1322, allocations: 19.98 kB / 353.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.1323, allocations: 19.92 kB / 353.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.84e-05/0.1323, allocations: 19.91 kB / 353.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.1324, allocations: 4 kB / 353.6 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.1324, allocations: 4 kB / 353.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.1324, allocations: 11.98 kB / 353.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.1325, allocations: 19.88 kB / 353.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.1326, allocations: 47.8 kB / 353.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1326, allocations: 3.938 kB / 353.7 MB, free: 1.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1326, allocations: 7.938 kB / 353.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1326, allocations: 0 / 353.7 MB, free: 1.496 MB / 286.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.0005995/0.1332, allocations: 379.3 kB / 354 MB, free: 1.078 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1333, allocations: 15.89 kB / 354.1 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.1333, allocations: 8.938 kB / 354.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1336, allocations: 184.2 kB / 354.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1336, allocations: 4.375 kB / 354.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1336, allocations: 4.375 kB / 354.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.134, allocations: 147.5 kB / 354.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.134, allocations: 0 / 354.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.134, allocations: 0 / 354.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.134, allocations: 0 / 354.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1341, allocations: 31.92 kB / 354.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.1343, allocations: 161.7 kB / 354.6 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1345, allocations: 135.7 kB / 354.7 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.1346, allocations: 36.84 kB / 354.8 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1346, allocations: 0 / 354.8 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1347, allocations: 34.5 kB / 354.8 MB, free: 196 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.1347, allocations: 0 / 354.8 MB, free: 196 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.000261/0.1349, allocations: 89.52 kB / 354.9 MB, free: 100 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.135, allocations: 55.41 kB / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/0.1351, allocations: 109.8 kB / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1351, allocations: 33.7 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.1352, allocations: 84.14 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.1352, allocations: 3.984 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.1352, allocations: 21.66 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1354, allocations: 318.8 kB / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.1354, allocations: 7.984 kB / 355.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.1354, allocations: 49.09 kB / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.257e-05/0.1355, allocations: 61.02 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1355, allocations: 4 kB / 355.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001105/0.1356, allocations: 77.47 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1356, allocations: 11.94 kB / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1357, allocations: 480 / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1357, allocations: 0 / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.343e-05/0.1357, allocations: 8 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.1358, allocations: 4 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.1358, allocations: 4.188 kB / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1358, allocations: 12.19 kB / 355.7 MB, free: 15.16 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.875e-05/0.1359, allocations: 125.7 kB / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.136, allocations: 73.53 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.1361, allocations: 8.375 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.1361, allocations: 0 / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1361, allocations: 0 / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1361, allocations: 0 / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.1362, allocations: 165.6 kB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1362, allocations: 0 / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.1363, allocations: 8 kB / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.1363, allocations: 3.938 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1363, allocations: 11.92 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1363, allocations: 4 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1363, allocations: 3.984 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.1365, allocations: 89.11 kB / 356.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1366, allocations: 92.94 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1366, allocations: 0 / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.1367, allocations: 23.97 kB / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-06/0.1367, allocations: 0 / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.1367, allocations: 4 kB / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.937e-05/0.1367, allocations: 87.27 kB / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1368, allocations: 3.938 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.137, allocations: 8 kB / 356.4 MB, free: 14.36 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.0001112/0.1371, allocations: 103.2 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.1373, allocations: 35.92 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1373, allocations: 3.938 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1373, allocations: 4 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1376, allocations: 47.52 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.1379, allocations: 129.8 kB / 356.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1382, allocations: 0.6923 MB / 357.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.975e-05/0.1382, allocations: 0 / 357.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.1382, allocations: 11.44 kB / 357.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1383, allocations: 0 / 357.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of Templates: time 0.002763/0.141, allocations: 0.631 MB / 358.1 MB, free: 12.65 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches