Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",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.001203/0.001203, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.00159/0.00159, allocations: 177 kB / 17.56 MB, free: 6.18 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.825/1.825, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 4 kB / 301.5 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1361, allocations: 50.41 MB / 351.9 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002081/0.1382, allocations: 1.147 MB / 353.1 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003201/0.1385, allocations: 96.42 kB / 353.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.1386, allocations: 0 / 353.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.1387, allocations: 3.938 kB / 353.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.134e-05/0.1387, allocations: 3.984 kB / 353.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.1391, allocations: 19.98 kB / 353.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.33e-05/0.1392, allocations: 23.92 kB / 353.2 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1393, allocations: 8 kB / 353.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.62e-05/0.1393, allocations: 7.938 kB / 353.3 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.1394, allocations: 15.92 kB / 353.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1394, allocations: 0 / 353.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.1394, allocations: 4 kB / 353.3 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.1394, allocations: 0 / 353.3 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.1395, allocations: 37.58 kB / 353.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.628e-05/0.1396, allocations: 31.88 kB / 353.3 MB, free: 1.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1396, allocations: 0 / 353.3 MB, free: 1.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1396, allocations: 3.938 kB / 353.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1396, allocations: 0 / 353.3 MB, free: 1.953 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004757/0.1401, allocations: 339.7 kB / 353.7 MB, free: 1.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.1402, allocations: 8.031 kB / 353.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.1402, allocations: 30.75 kB / 353.7 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.1403, allocations: 8.938 kB / 353.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1405, allocations: 176.3 kB / 353.9 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.1405, allocations: 384 / 353.9 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1405, allocations: 4.375 kB / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.1409, allocations: 103.9 kB / 354 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1409, allocations: 3.938 kB / 354 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1409, allocations: 4 kB / 354 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1409, allocations: 0 / 354 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.141, allocations: 19.92 kB / 354 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.1412, allocations: 157.7 kB / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1413, allocations: 46.56 kB / 354.2 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.1414, allocations: 28.91 kB / 354.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1414, allocations: 0 / 354.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1415, allocations: 34.56 kB / 354.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1415, allocations: 4 kB / 354.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002373/0.1417, allocations: 73.45 kB / 354.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.1418, allocations: 59.34 kB / 354.4 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/0.1419, allocations: 97.86 kB / 354.5 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1419, allocations: 29.7 kB / 354.5 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.142, allocations: 88.12 kB / 354.6 MB, free: 456 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.142, allocations: 0 / 354.6 MB, free: 456 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.142, allocations: 9.719 kB / 354.6 MB, free: 440 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1422, allocations: 322.8 kB / 355 MB, free: 108 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.1422, allocations: 0 / 355 MB, free: 108 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-05/0.1423, allocations: 27.42 kB / 355 MB, free: 68 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.1423, allocations: 39.38 kB / 355 MB, free: 16 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1423, allocations: 0 / 355 MB, free: 16 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000116/0.1424, allocations: 61.56 kB / 355.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1425, allocations: 11.88 kB / 355.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1425, allocations: 4 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1425, allocations: 0 / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/0.1426, allocations: 4 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1426, allocations: 0 / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.1426, allocations: 8.062 kB / 355.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1426, allocations: 7.984 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001006/0.1427, allocations: 113.8 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.1428, allocations: 65.47 kB / 355.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.1429, allocations: 3.5 kB / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1429, allocations: 0 / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1429, allocations: 0 / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1429, allocations: 0 / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.143, allocations: 157.7 kB / 355.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1431, allocations: 0 / 355.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.1431, allocations: 8.234 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1431, allocations: 3.938 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1431, allocations: 4 kB / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1431, allocations: 0 / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1431, allocations: 0 / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.1433, allocations: 81.12 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.1433, allocations: 89.02 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1434, allocations: 3.938 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.298e-05/0.1434, allocations: 7.922 kB / 355.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-06/0.1434, allocations: 0 / 355.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.1434, allocations: 4 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.1435, allocations: 79.28 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1435, allocations: 0 / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002103/0.1437, allocations: 8 kB / 355.7 MB, free: 15.19 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 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004595/0.1441, allocations: 0.6244 MB / 356.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.1443, allocations: 27.95 kB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1443, allocations: 0 / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.81e-07/0.1443, allocations: 256 / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1446, allocations: 24.03 kB / 356.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1458, allocations: 1.161 MB / 357.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1461, allocations: 0.6848 MB / 358.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.797e-05/0.1461, allocations: 0 / 358.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.1462, allocations: 18.56 kB / 358.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1462, allocations: 0 / 358.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01323/0.1594, allocations: 1.024 MB / 359.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/0.1598, allocations: 219.3 kB / 359.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.076, allocations: 0 / 359.5 MB, free: 11.38 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches