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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001199/0.001199, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.631/1.631, allocations: 223.3 MB / 241.6 MB, free: 184 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 4.188 kB / 301.5 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 50.41 MB / 351.9 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002024/0.1387, allocations: 1.209 MB / 353.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008276/0.1396, allocations: 431.8 kB / 353.6 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.1397, allocations: 3.938 kB / 353.6 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.1398, allocations: 3.984 kB / 353.6 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.1399, allocations: 15.92 kB / 353.6 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.1402, allocations: 25.97 kB / 353.6 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.1403, allocations: 59.72 kB / 353.7 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1404, allocations: 11.98 kB / 353.7 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.503e-05/0.1405, allocations: 23.86 kB / 353.7 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.1405, allocations: 23.91 kB / 353.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1406, allocations: 0 / 353.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.1406, allocations: 4 kB / 353.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.1406, allocations: 0 / 353.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.1407, allocations: 49.56 kB / 353.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1408, allocations: 44.14 kB / 353.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1408, allocations: 0 / 353.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1408, allocations: 0 / 353.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1408, allocations: 4 kB / 353.8 MB, free: 1.688 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.0006069/0.1414, allocations: 367.4 kB / 354.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1415, allocations: 8.031 kB / 354.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.1416, allocations: 34.73 kB / 354.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.1416, allocations: 8.844 kB / 354.2 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1418, allocations: 192.2 kB / 354.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1419, allocations: 384 / 354.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1419, allocations: 8.375 kB / 354.4 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.1423, allocations: 143.3 kB / 354.6 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1423, allocations: 0 / 354.6 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1423, allocations: 4 kB / 354.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1423, allocations: 0 / 354.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1424, allocations: 31.98 kB / 354.6 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.1426, allocations: 169.6 kB / 354.8 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1429, allocations: 131.7 kB / 354.9 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.143, allocations: 36.84 kB / 354.9 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.143, allocations: 0 / 354.9 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.143, allocations: 38.5 kB / 355 MB, free: 352 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.143, allocations: 3.938 kB / 355 MB, free: 348 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003049/0.1433, allocations: 101.5 kB / 355.1 MB, free: 240 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.1434, allocations: 51.41 kB / 355.1 MB, free: 176 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1435, allocations: 117.8 kB / 355.2 MB, free: 48 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1435, allocations: 25.7 kB / 355.3 MB, free: 16 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.1436, allocations: 84.14 kB / 355.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.1436, allocations: 4 kB / 355.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1437, allocations: 9.719 kB / 355.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1438, allocations: 322.8 kB / 355.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.1438, allocations: 4 kB / 355.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.1439, allocations: 45.14 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.254e-05/0.144, allocations: 61.03 kB / 355.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.144, allocations: 7.938 kB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001404/0.1441, allocations: 81.41 kB / 355.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1441, allocations: 4 kB / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1442, allocations: 4 kB / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1442, allocations: 0 / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.1442, allocations: 11.98 kB / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1443, allocations: 0 / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.1443, allocations: 12.12 kB / 355.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1443, allocations: 8 kB / 355.9 MB, free: 15.31 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.378e-05/0.1444, allocations: 113.8 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.1446, allocations: 69.62 kB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.1446, allocations: 12.36 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1446, allocations: 0 / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1446, allocations: 0 / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1446, allocations: 4 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.1448, allocations: 169.6 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1448, allocations: 0 / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.1448, allocations: 11.92 kB / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1449, allocations: 4 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-06/0.1449, allocations: 0 / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1449, allocations: 0 / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1449, allocations: 0 / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.1451, allocations: 101.3 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.1451, allocations: 88.95 kB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.1452, allocations: 8.062 kB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.1453, allocations: 15.98 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-06/0.1453, allocations: 0 / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.1453, allocations: 4 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.127e-05/0.1453, allocations: 87.27 kB / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1453, allocations: 0 / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.1455, allocations: 11.94 kB / 356.6 MB, free: 14.52 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.0006106/0.1462, allocations: 0.667 MB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.1463, allocations: 44.3 kB / 357.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1463, allocations: 4.062 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.1463, allocations: 3.938 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1467, allocations: 40.02 kB / 357.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1479, allocations: 1.254 MB / 358.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1481, allocations: 0.6848 MB / 359.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.414e-05/0.1482, allocations: 7.984 kB / 359.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.1482, allocations: 16.69 kB / 359.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1482, allocations: 0 / 359.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.161, allocations: 1.424 MB / 360.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/0.1613, allocations: 220.5 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.094, allocations: 0 / 361 MB, free: 10.12 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > 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