Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",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.00129/0.00129, allocations: 110.5 kB / 16.63 MB, free: 6.969 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.001304/0.001304, allocations: 189.8 kB / 17.55 MB, free: 6.062 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.595/1.595, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 43.69 kB / 300.2 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 49.44 MB / 349.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.005806/0.1454, allocations: 1.933 MB / 351.6 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.1479, allocations: 1.044 MB / 352.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.1482, allocations: 7.938 kB / 352.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007929/0.1491, allocations: 141 kB / 352.8 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.1495, allocations: 99.69 kB / 352.9 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.1503, allocations: 190.9 kB / 353.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.1506, allocations: 187.5 kB / 353.3 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.1508, allocations: 25.55 kB / 353.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.151, allocations: 75.64 kB / 353.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1511, allocations: 79.62 kB / 353.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.1512, allocations: 8 kB / 353.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.1514, allocations: 51.97 kB / 353.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.746e-05/0.1515, allocations: 43.84 kB / 353.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1516, allocations: 75.48 kB / 353.6 MB, free: 472 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.152, allocations: 199.7 kB / 353.8 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.152, allocations: 4 kB / 353.8 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.152, allocations: 0 / 353.8 MB, free: 268 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1521, allocations: 0 / 353.8 MB, free: 268 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001099/0.1532, allocations: 0.5 MB / 354.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.1532, allocations: 8.031 kB / 354.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.941e-05/0.1533, allocations: 42.73 kB / 354.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.1534, allocations: 16.75 kB / 354.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.154, allocations: 270.7 kB / 354.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.154, allocations: 8.375 kB / 354.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1541, allocations: 7.938 kB / 354.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.1545, allocations: 150.7 kB / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1545, allocations: 7.984 kB / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1546, allocations: 0 / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1546, allocations: 4 kB / 354.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1547, allocations: 35.92 kB / 354.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/0.1553, allocations: 362.3 kB / 355.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.1556, allocations: 111.9 kB / 355.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.241e-05/0.1557, allocations: 46.56 kB / 355.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.1558, allocations: 4 kB / 355.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.156, allocations: 71.38 kB / 355.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.156, allocations: 0 / 355.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004456/0.1564, allocations: 141.3 kB / 355.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.1565, allocations: 136.8 kB / 355.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/0.157, allocations: 272.8 kB / 356 MB, free: 13.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.157, allocations: 25.7 kB / 356 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1571, allocations: 120.1 kB / 356.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1572, allocations: 23.73 kB / 356.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.1572, allocations: 21.72 kB / 356.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002568/0.1575, allocations: 326.8 kB / 356.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.1576, allocations: 23.98 kB / 356.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1577, allocations: 73.94 kB / 356.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.1579, allocations: 80.5 kB / 356.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1579, allocations: 4 kB / 356.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002467/0.1581, allocations: 109.4 kB / 356.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1582, allocations: 8 kB / 356.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.1582, allocations: 0 / 356.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1582, allocations: 7.938 kB / 356.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.1583, allocations: 15.92 kB / 356.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.1583, allocations: 4 kB / 356.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/0.1584, allocations: 15.97 kB / 356.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1584, allocations: 4 kB / 356.8 MB, free: 12.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001403/0.1586, allocations: 137.8 kB / 357 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1587, allocations: 61.44 kB / 357 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.601e-05/0.1587, allocations: 25.7 kB / 357.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.1588, allocations: 4 kB / 357.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1588, allocations: 0 / 357.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1588, allocations: 3.938 kB / 357.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.159, allocations: 229.7 kB / 357.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.1591, allocations: 4 kB / 357.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.1591, allocations: 7.938 kB / 357.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1591, allocations: 0 / 357.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1591, allocations: 7.984 kB / 357.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1591, allocations: 7.938 kB / 357.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1591, allocations: 0 / 357.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.1594, allocations: 154.4 kB / 357.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/0.1595, allocations: 112.9 kB / 357.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.1596, allocations: 0 / 357.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.017e-05/0.1596, allocations: 4.062 kB / 357.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.1597, allocations: 19.92 kB / 357.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1597, allocations: 4 kB / 357.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.1599, allocations: 192.5 kB / 357.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1599, allocations: 0 / 357.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1602, allocations: 32 kB / 357.8 MB, free: 11.81 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001603/0.1618, allocations: 0.9933 MB / 358.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.1621, allocations: 83.84 kB / 358.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1621, allocations: 0 / 358.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.1622, allocations: 20.12 kB / 358.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.1627, allocations: 75.48 kB / 359 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.1653, allocations: 1.958 MB / 360.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.1657, allocations: 0.7241 MB / 361.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.1658, allocations: 21.53 kB / 361.7 MB, free: 7.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.1659, allocations: 47.42 kB / 361.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1659, allocations: 0 / 361.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.1837, allocations: 4.334 MB / 366.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/0.1841, allocations: 269.6 kB / 366.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.44, allocations: 7.688 kB / 366.3 MB, free: 3.371 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches