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.001288/0.001288, allocations: 111.4 kB / 16.92 MB, free: 5.789 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.001321/0.001321, allocations: 191.5 kB / 17.85 MB, free: 5.16 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.563/1.563, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 48.45 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1481, allocations: 49.44 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003896/0.1521, allocations: 1.427 MB / 351.6 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004154/0.1525, allocations: 97.16 kB / 351.7 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1527, allocations: 4 kB / 351.7 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.294e-05/0.1527, allocations: 3.938 kB / 351.7 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.1528, allocations: 7.922 kB / 351.7 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1531, allocations: 12 kB / 351.7 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1532, allocations: 23.92 kB / 351.7 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1534, allocations: 15.98 kB / 351.8 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.341e-05/0.1535, allocations: 11.92 kB / 351.8 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.1535, allocations: 11.94 kB / 351.8 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.1536, allocations: 4 kB / 351.8 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.1536, allocations: 0 / 351.8 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.1536, allocations: 7.984 kB / 351.8 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.1537, allocations: 15.88 kB / 351.8 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1538, allocations: 35.83 kB / 351.8 MB, free: 2.637 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1538, allocations: 0 / 351.8 MB, free: 2.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1538, allocations: 7.938 kB / 351.8 MB, free: 2.629 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1539, allocations: 0 / 351.8 MB, free: 2.629 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.0006125/0.1545, allocations: 335.7 kB / 352.2 MB, free: 2.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/0.1546, allocations: 11.89 kB / 352.2 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.1546, allocations: 34.75 kB / 352.2 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.1547, allocations: 8.844 kB / 352.2 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.155, allocations: 168.4 kB / 352.4 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.155, allocations: 4.375 kB / 352.4 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.155, allocations: 4.375 kB / 352.4 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.1554, allocations: 99.88 kB / 352.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.1555, allocations: 3.938 kB / 352.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1555, allocations: 0 / 352.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.1555, allocations: 0 / 352.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.1556, allocations: 23.92 kB / 352.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.1558, allocations: 157.7 kB / 352.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.156, allocations: 54.53 kB / 352.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.1561, allocations: 16.89 kB / 352.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.1561, allocations: 0 / 352.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/0.1562, allocations: 38.59 kB / 352.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1562, allocations: 0 / 352.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002836/0.1565, allocations: 73.47 kB / 352.9 MB, free: 1.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.1566, allocations: 55.41 kB / 352.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1567, allocations: 105.8 kB / 353 MB, free: 1.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1567, allocations: 25.7 kB / 353 MB, free: 1.219 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.1568, allocations: 80.14 kB / 353.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-06/0.1568, allocations: 0 / 353.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.1569, allocations: 17.72 kB / 353.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.1571, allocations: 322.8 kB / 353.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.1571, allocations: 4 kB / 353.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.09e-05/0.1572, allocations: 23.44 kB / 353.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.1572, allocations: 39.36 kB / 353.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1572, allocations: 7.938 kB / 353.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001141/0.1574, allocations: 53.58 kB / 353.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1574, allocations: 7.938 kB / 353.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1574, allocations: 4 kB / 353.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1574, allocations: 0 / 353.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/0.1575, allocations: 7.984 kB / 353.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1575, allocations: 0 / 353.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.1575, allocations: 7.938 kB / 353.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1576, allocations: 4.125 kB / 353.6 MB, free: 0.6016 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 0.0001291/0.1577, allocations: 117.8 kB / 353.7 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1578, allocations: 61.47 kB / 353.8 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.1579, allocations: 7.5 kB / 353.8 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1579, allocations: 0 / 353.8 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1579, allocations: 0 / 353.8 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1579, allocations: 0 / 353.8 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.158, allocations: 157.7 kB / 353.9 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.158, allocations: 0 / 353.9 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.1581, allocations: 0 / 353.9 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1581, allocations: 11.94 kB / 354 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1581, allocations: 0 / 354 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1581, allocations: 256 / 354 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1581, allocations: 4 kB / 354 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.1582, allocations: 81.44 kB / 354 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.1583, allocations: 85.02 kB / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1584, allocations: 3.938 kB / 354.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.521e-05/0.1584, allocations: 11.98 kB / 354.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-06/0.1584, allocations: 3.984 kB / 354.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1584, allocations: 4 kB / 354.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.791e-05/0.1585, allocations: 83.27 kB / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1585, allocations: 0 / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1587, allocations: 0 / 354.2 MB, free: 15.87 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.0005066/0.1593, allocations: 0.6202 MB / 354.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.1594, allocations: 27.92 kB / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1594, allocations: 0 / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.1594, allocations: 0 / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1597, allocations: 20.02 kB / 354.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1608, allocations: 1.15 MB / 356 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1611, allocations: 0.6845 MB / 356.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.325e-05/0.1611, allocations: 0 / 356.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.1612, allocations: 15.44 kB / 356.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1612, allocations: 4 kB / 356.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.1834, allocations: 1.194 MB / 357.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/8.749, allocations: 0 / 357.9 MB, free: 12.11 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