Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",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.001663/0.001662, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.00206/0.00206, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.64/1.64, allocations: 222.9 MB / 241.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 47.23 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1615, allocations: 49.44 MB / 350.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.004257/0.1658, allocations: 1.413 MB / 351.6 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000307/0.1662, allocations: 27.92 kB / 351.6 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1663, allocations: 0 / 351.6 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/0.1664, allocations: 7.922 kB / 351.6 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.945e-05/0.1665, allocations: 3.938 kB / 351.6 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.1669, allocations: 22.84 kB / 351.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.167, allocations: 27.94 kB / 351.7 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1672, allocations: 11.98 kB / 351.7 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.297e-05/0.1672, allocations: 11.94 kB / 351.7 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.321e-05/0.1673, allocations: 15.92 kB / 351.7 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.1673, allocations: 4 kB / 351.7 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.1674, allocations: 0 / 351.7 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.1674, allocations: 11.98 kB / 351.7 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.1675, allocations: 15.86 kB / 351.7 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1676, allocations: 19.97 kB / 351.8 MB, free: 2.742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1676, allocations: 3.938 kB / 351.8 MB, free: 2.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1676, allocations: 4 kB / 351.8 MB, free: 2.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1676, allocations: 0 / 351.8 MB, free: 2.734 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.0007571/0.1684, allocations: 343.7 kB / 352.1 MB, free: 2.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.265e-05/0.1685, allocations: 12.03 kB / 352.1 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.1685, allocations: 30.75 kB / 352.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.1686, allocations: 8.844 kB / 352.1 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.1689, allocations: 172.4 kB / 352.3 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.169, allocations: 384 / 352.3 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.169, allocations: 8.312 kB / 352.3 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.1694, allocations: 123.8 kB / 352.4 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1695, allocations: 3.938 kB / 352.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1695, allocations: 0 / 352.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1695, allocations: 0 / 352.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1696, allocations: 23.97 kB / 352.5 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.1699, allocations: 153.7 kB / 352.6 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1701, allocations: 58.48 kB / 352.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.1701, allocations: 20.94 kB / 352.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1702, allocations: 3.984 kB / 352.7 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.1702, allocations: 30.56 kB / 352.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1702, allocations: 0 / 352.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000325/0.1706, allocations: 81.5 kB / 352.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.1706, allocations: 63.41 kB / 352.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.1708, allocations: 101.8 kB / 353 MB, free: 1.312 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1708, allocations: 29.7 kB / 353 MB, free: 1.277 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.1709, allocations: 84.08 kB / 353.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.1709, allocations: 4 kB / 353.1 MB, free: 1.188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.1709, allocations: 17.7 kB / 353.1 MB, free: 1.164 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1711, allocations: 318.8 kB / 353.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.1712, allocations: 4 kB / 353.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.1712, allocations: 39.67 kB / 353.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.952e-05/0.1713, allocations: 31.5 kB / 353.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.1713, allocations: 8 kB / 353.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001107/0.1714, allocations: 65.53 kB / 353.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.1715, allocations: 11.94 kB / 353.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1715, allocations: 0 / 353.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1715, allocations: 0 / 353.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.1716, allocations: 4 kB / 353.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.1716, allocations: 7.938 kB / 353.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.1716, allocations: 0 / 353.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1716, allocations: 0 / 353.6 MB, free: 0.6445 MB / 286.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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001293/0.1718, allocations: 118 kB / 353.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.1719, allocations: 61.61 kB / 353.8 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.172, allocations: 7.5 kB / 353.8 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.172, allocations: 4 kB / 353.8 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.172, allocations: 0 / 353.8 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.172, allocations: 3.984 kB / 353.8 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.1722, allocations: 157.6 kB / 353.9 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1722, allocations: 3.938 kB / 353.9 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.1722, allocations: 4 kB / 353.9 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.1722, allocations: 3.938 kB / 353.9 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1723, allocations: 7.922 kB / 354 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1723, allocations: 4 kB / 354 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1723, allocations: 0 / 354 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.1725, allocations: 89.02 kB / 354 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1726, allocations: 77.11 kB / 354.1 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1726, allocations: 3.938 kB / 354.1 MB, free: 0 / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.1726, allocations: 4.047 kB / 354.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-06/0.1727, allocations: 0 / 354.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1727, allocations: 3.938 kB / 354.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.781e-05/0.1728, allocations: 91.22 kB / 354.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1728, allocations: 0 / 354.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.173, allocations: 4 kB / 354.2 MB, free: 15.9 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0007363/0.1737, allocations: 0.6513 MB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1739, allocations: 35.98 kB / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.174, allocations: 0 / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.174, allocations: 0 / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1743, allocations: 28.44 kB / 354.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.1756, allocations: 1.171 MB / 356.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.176, allocations: 0.6769 MB / 356.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.502e-05/0.176, allocations: 4 kB / 356.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.1761, allocations: 7.438 kB / 356.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1761, allocations: 0 / 356.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.1954, allocations: 1.282 MB / 358.1 MB, free: 12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/8.837, allocations: 11.08 kB / 358.1 MB, free: 11.99 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches