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.001613/0.001614, allocations: 112.2 kB / 16.51 MB, free: 6.715 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.001756/0.001756, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.581/1.581, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.08 kB / 300.1 MB, free: 6.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1596, allocations: 49.44 MB / 349.5 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00427/0.1639, allocations: 1.483 MB / 351 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003188/0.1642, allocations: 95.62 kB / 351.1 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.1643, allocations: 4 kB / 351.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.1644, allocations: 0 / 351.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.1645, allocations: 3.938 kB / 351.1 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1647, allocations: 23.91 kB / 351.1 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.1648, allocations: 27.86 kB / 351.1 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1649, allocations: 8 kB / 351.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.846e-05/0.165, allocations: 8 kB / 351.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.408e-05/0.165, allocations: 15.92 kB / 351.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.165, allocations: 3.938 kB / 351.2 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.165, allocations: 4 kB / 351.2 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.1651, allocations: 7.922 kB / 351.2 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.1651, allocations: 11.94 kB / 351.2 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.003e-05/0.1652, allocations: 23.91 kB / 351.2 MB, free: 3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1652, allocations: 0 / 351.2 MB, free: 3 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1652, allocations: 0 / 351.2 MB, free: 3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1652, allocations: 0 / 351.2 MB, free: 3 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.0004359/0.1657, allocations: 347.7 kB / 351.6 MB, free: 2.609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1657, allocations: 8.031 kB / 351.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.1658, allocations: 34.75 kB / 351.6 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.1658, allocations: 4.844 kB / 351.6 MB, free: 2.555 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.166, allocations: 176.3 kB / 351.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.166, allocations: 4.375 kB / 351.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.166, allocations: 384 / 351.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.1664, allocations: 111.8 kB / 351.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1664, allocations: 7.938 kB / 351.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1664, allocations: 0 / 351.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1664, allocations: 4 kB / 351.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.212e-05/0.1665, allocations: 11.98 kB / 351.9 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.1666, allocations: 149.7 kB / 352.1 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1668, allocations: 54.5 kB / 352.1 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.1668, allocations: 20.92 kB / 352.1 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.1669, allocations: 4 kB / 352.1 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1669, allocations: 34.56 kB / 352.2 MB, free: 1.867 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1669, allocations: 0 / 352.2 MB, free: 1.867 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002065/0.1671, allocations: 69.52 kB / 352.2 MB, free: 1.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.1672, allocations: 55.41 kB / 352.3 MB, free: 1.727 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.1673, allocations: 101.9 kB / 352.4 MB, free: 1.617 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1673, allocations: 29.64 kB / 352.4 MB, free: 1.582 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.1673, allocations: 88.12 kB / 352.5 MB, free: 1.492 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.1674, allocations: 7.938 kB / 352.5 MB, free: 1.484 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1674, allocations: 13.72 kB / 352.5 MB, free: 1.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1675, allocations: 314.8 kB / 352.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.1676, allocations: 7.984 kB / 352.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.1676, allocations: 27.44 kB / 352.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.1676, allocations: 31.38 kB / 352.9 MB, free: 1.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1677, allocations: 0 / 352.9 MB, free: 1.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.183e-05/0.1677, allocations: 57.62 kB / 353 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1678, allocations: 11.94 kB / 353 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1678, allocations: 0 / 353 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1678, allocations: 0 / 353 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-05/0.1678, allocations: 11.94 kB / 353 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1679, allocations: 0 / 353 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.1679, allocations: 11.88 kB / 353 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.1679, allocations: 0 / 353 MB, free: 0.9609 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: 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 8.015e-05/0.168, allocations: 114 kB / 353.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.1681, allocations: 65.53 kB / 353.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.1681, allocations: 3.5 kB / 353.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1681, allocations: 0 / 353.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1681, allocations: 0 / 353.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1681, allocations: 336 / 353.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.1683, allocations: 153.7 kB / 353.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1683, allocations: 0 / 353.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.1683, allocations: 7.984 kB / 353.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1683, allocations: 7.922 kB / 353.3 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.1683, allocations: 256 / 353.3 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1683, allocations: 8 kB / 353.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1683, allocations: 3.938 kB / 353.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1685, allocations: 77.12 kB / 353.4 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.1685, allocations: 85.02 kB / 353.5 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1686, allocations: 7.922 kB / 353.5 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.827e-05/0.1686, allocations: 0 / 353.5 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-06/0.1686, allocations: 4 kB / 353.5 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1686, allocations: 0 / 353.5 MB, free: 332 kB / 286.1 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.1687, allocations: 87.22 kB / 353.6 MB, free: 244 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1687, allocations: 0 / 353.6 MB, free: 244 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001868/0.1689, allocations: 8 kB / 353.6 MB, free: 236 kB / 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 (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.0004406/0.1693, allocations: 0.6201 MB / 354.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.1694, allocations: 23.98 kB / 354.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1694, allocations: 0 / 354.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.1695, allocations: 3.938 kB / 354.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.1697, allocations: 18.38 kB / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1708, allocations: 1.152 MB / 355.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1711, allocations: 0.6848 MB / 356.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.535e-05/0.1712, allocations: 0 / 356.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.1712, allocations: 15.42 kB / 356.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1712, allocations: 0 / 356.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.1853, allocations: 1.077 MB / 357.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004516/0.1859, allocations: 225.3 kB / 357.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.106, allocations: 0 / 357.4 MB, free: 12.36 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