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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0026/0.002601, allocations: 59.5 kB / 307.1 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1286, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003575/0.1322, allocations: 1.479 MB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1334, allocations: 496.4 kB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1336, allocations: 3.938 kB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.1337, allocations: 3.938 kB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.1339, allocations: 11.92 kB / 359.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1342, allocations: 35.91 kB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1343, allocations: 51.84 kB / 359.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1345, allocations: 11.98 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.485e-05/0.1346, allocations: 31.86 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.1347, allocations: 15.92 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.1347, allocations: 4 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.1347, allocations: 4 kB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.1348, allocations: 15.92 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.1348, allocations: 19.92 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.135, allocations: 44.09 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.135, allocations: 0 / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.135, allocations: 0 / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.135, allocations: 0 / 359.8 MB, free: 11.77 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.0006766/0.1357, allocations: 383.3 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1357, allocations: 12.03 kB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.1358, allocations: 34.75 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.1358, allocations: 8.922 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.136, allocations: 196.1 kB / 360.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.136, allocations: 4.375 kB / 360.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.1361, allocations: 384 / 360.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.1364, allocations: 147.3 kB / 360.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1364, allocations: 3.984 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1365, allocations: 4 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1365, allocations: 0 / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1366, allocations: 27.98 kB / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.1367, allocations: 165.6 kB / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1369, allocations: 131.7 kB / 360.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.137, allocations: 32.84 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1371, allocations: 4 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1371, allocations: 38.5 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1371, allocations: 3.938 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002683/0.1374, allocations: 81.58 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.1374, allocations: 67.33 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.1375, allocations: 105.9 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1375, allocations: 29.7 kB / 361.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.1376, allocations: 88.12 kB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.1376, allocations: 4 kB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.1377, allocations: 21.72 kB / 361.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.1378, allocations: 318.8 kB / 361.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.1378, allocations: 8 kB / 361.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/0.1378, allocations: 41.16 kB / 361.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.1379, allocations: 57.08 kB / 361.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1379, allocations: 0 / 361.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001274/0.1381, allocations: 81.41 kB / 361.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.1381, allocations: 8 kB / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1381, allocations: 480 / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1381, allocations: 3.938 kB / 361.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.1382, allocations: 15.94 kB / 361.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1382, allocations: 7.984 kB / 361.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.1382, allocations: 3.938 kB / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1383, allocations: 4 kB / 361.9 MB, free: 9.383 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 9.529e-05/0.1384, allocations: 122.2 kB / 362 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.1385, allocations: 77.47 kB / 362.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.1385, allocations: 16.36 kB / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1386, allocations: 0 / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1386, allocations: 0 / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1386, allocations: 0 / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.1387, allocations: 161.7 kB / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1387, allocations: 0 / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.1388, allocations: 11.92 kB / 362.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1388, allocations: 0 / 362.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1388, allocations: 8 kB / 362.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1388, allocations: 0 / 362.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1388, allocations: 3.984 kB / 362.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.139, allocations: 101 kB / 362.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.139, allocations: 88.98 kB / 362.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1391, allocations: 0 / 362.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.1392, allocations: 15.98 kB / 362.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-06/0.1392, allocations: 0 / 362.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1392, allocations: 4 kB / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.1393, allocations: 87.27 kB / 362.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1393, allocations: 0 / 362.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.1395, allocations: 12 kB / 362.6 MB, free: 8.586 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.0005009/0.14, allocations: 0.6592 MB / 363.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1401, allocations: 44.05 kB / 363.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1401, allocations: 0 / 363.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.1401, allocations: 0 / 363.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1405, allocations: 40.45 kB / 363.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1418, allocations: 1.262 MB / 364.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1422, allocations: 0.6846 MB / 365.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.1422, allocations: 8.031 kB / 365.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.1423, allocations: 15.44 kB / 365.3 MB, free: 5.703 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1423, allocations: 0 / 365.3 MB, free: 5.703 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.1623, allocations: 1.617 MB / 366.9 MB, free: 4.203 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.759, allocations: 3.625 kB / 366.9 MB, free: 4.203 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv","/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