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.001208/0.001208, allocations: 97.55 kB / 16.31 MB, free: 5.996 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.001449/0.001449, allocations: 184.5 kB / 17.2 MB, free: 5.914 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.569/1.569, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.00026, allocations: 9.25 kB / 300.7 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 50.43 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001794/0.1276, allocations: 1.185 MB / 352.3 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000806/0.1285, allocations: 423.4 kB / 352.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.386e-05/0.1286, allocations: 3.938 kB / 352.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.1286, allocations: 3.938 kB / 352.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1288, allocations: 19.97 kB / 352.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.129, allocations: 23.91 kB / 352.8 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1291, allocations: 35.95 kB / 352.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.1292, allocations: 4 kB / 352.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.005e-05/0.1293, allocations: 19.92 kB / 352.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.1293, allocations: 19.91 kB / 352.9 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1294, allocations: 4 kB / 352.9 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.1294, allocations: 0 / 352.9 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.1294, allocations: 11.92 kB / 352.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.1294, allocations: 41.64 kB / 352.9 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.868e-05/0.1295, allocations: 31.94 kB / 353 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1295, allocations: 0 / 353 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1295, allocations: 0 / 353 MB, free: 9.895 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1295, allocations: 0 / 353 MB, free: 9.895 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.0006097/0.1301, allocations: 359.2 kB / 353.3 MB, free: 9.496 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1302, allocations: 12.03 kB / 353.3 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1302, allocations: 11.86 kB / 353.3 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1304, allocations: 175 kB / 353.5 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1305, allocations: 11.88 kB / 353.5 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1305, allocations: 4 kB / 353.5 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.1309, allocations: 139.2 kB / 353.6 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.131, allocations: 0 / 353.6 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.131, allocations: 8 kB / 353.7 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.131, allocations: 0 / 353.7 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1311, allocations: 31.92 kB / 353.7 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.1313, allocations: 173.5 kB / 353.9 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.1315, allocations: 143.7 kB / 354 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1315, allocations: 0 / 354 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.1317, allocations: 30.56 kB / 354 MB, free: 8.633 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.1317, allocations: 0 / 354 MB, free: 8.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002746/0.132, allocations: 85.8 kB / 354.1 MB, free: 8.543 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.132, allocations: 55.41 kB / 354.2 MB, free: 8.477 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1321, allocations: 113.8 kB / 354.3 MB, free: 8.355 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1322, allocations: 29.7 kB / 354.3 MB, free: 8.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.1322, allocations: 84.14 kB / 354.4 MB, free: 8.234 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.1322, allocations: 7.891 kB / 354.4 MB, free: 8.227 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.1322, allocations: 3.938 kB / 354.4 MB, free: 8.223 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1324, allocations: 326.7 kB / 354.7 MB, free: 7.895 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.1324, allocations: 4 kB / 354.7 MB, free: 7.891 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.201e-05/0.1324, allocations: 45.14 kB / 354.8 MB, free: 7.828 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.1325, allocations: 12 kB / 354.8 MB, free: 7.816 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1325, allocations: 0 / 354.8 MB, free: 7.816 MB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000102/0.1326, allocations: 81.56 kB / 354.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1326, allocations: 4 kB / 354.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.1326, allocations: 0 / 354.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1327, allocations: 4 kB / 354.9 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.144e-05/0.1327, allocations: 15.92 kB / 354.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1327, allocations: 3.938 kB / 354.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.1328, allocations: 4 kB / 354.9 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1328, allocations: 4 kB / 354.9 MB, free: 7.695 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.748e-05/0.1329, allocations: 118 kB / 355 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.133, allocations: 77.84 kB / 355.1 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.1331, allocations: 20.34 kB / 355.1 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1331, allocations: 0 / 355.1 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1331, allocations: 0 / 355.1 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1331, allocations: 0 / 355.1 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1332, allocations: 165.6 kB / 355.3 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1332, allocations: 0 / 355.3 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.1333, allocations: 7.984 kB / 355.3 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1333, allocations: 4 kB / 355.3 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1333, allocations: 4 kB / 355.3 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1333, allocations: 0 / 355.3 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1333, allocations: 0 / 355.3 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.1335, allocations: 105 kB / 355.4 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.1335, allocations: 81.05 kB / 355.5 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1336, allocations: 4 kB / 355.5 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.1337, allocations: 15.98 kB / 355.5 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.1337, allocations: 3.938 kB / 355.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.1337, allocations: 0 / 355.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.915e-05/0.1337, allocations: 95.72 kB / 355.6 MB, free: 6.902 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.412e-06/0.1337, allocations: 0 / 355.6 MB, free: 6.902 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.1339, allocations: 15.94 kB / 355.6 MB, free: 6.887 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.1341, allocations: 95.25 kB / 355.7 MB, free: 6.785 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.1342, allocations: 43.92 kB / 355.7 MB, free: 6.742 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1342, allocations: 0 / 355.7 MB, free: 6.742 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1342, allocations: 0 / 355.7 MB, free: 6.742 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1346, allocations: 48.66 kB / 355.8 MB, free: 6.695 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.1348, allocations: 153 kB / 355.9 MB, free: 6.516 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1351, allocations: 0.6887 MB / 356.6 MB, free: 5.801 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.009e-05/0.1351, allocations: 192 / 356.6 MB, free: 5.801 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.1352, allocations: 11.44 kB / 356.6 MB, free: 5.789 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1352, allocations: 0 / 356.6 MB, free: 5.789 MB / 286.1 MB Notification: Performance of Templates: time 0.00261/0.1378, allocations: 0.5524 MB / 357.2 MB, free: 5.242 MB / 286.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches