Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",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.001225/0.001224, allocations: 112.3 kB / 16.62 MB, free: 6.812 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.001615/0.001615, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.528/1.528, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 56.75 kB / 300.2 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1259, allocations: 49.44 MB / 349.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004336/0.1303, allocations: 1.945 MB / 351.6 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.1326, allocations: 1.04 MB / 352.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.1328, allocations: 7.938 kB / 352.7 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007741/0.1336, allocations: 149.7 kB / 352.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.1341, allocations: 107.6 kB / 352.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.1348, allocations: 183 kB / 353.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.1352, allocations: 187.5 kB / 353.3 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.1354, allocations: 41.47 kB / 353.3 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.1355, allocations: 83.62 kB / 353.4 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1357, allocations: 71.69 kB / 353.5 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.1357, allocations: 12 kB / 353.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.1359, allocations: 55.91 kB / 353.6 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.783e-05/0.136, allocations: 43.84 kB / 353.6 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1361, allocations: 79.47 kB / 353.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.1365, allocations: 203.6 kB / 353.9 MB, free: 452 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1366, allocations: 0 / 353.9 MB, free: 452 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1366, allocations: 4 kB / 353.9 MB, free: 448 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1366, allocations: 0 / 353.9 MB, free: 448 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001066/0.1377, allocations: 0.5141 MB / 354.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.1377, allocations: 8.031 kB / 354.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.1378, allocations: 42.69 kB / 354.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.1379, allocations: 20.66 kB / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.1383, allocations: 266.8 kB / 354.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1383, allocations: 4.375 kB / 354.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.1383, allocations: 15.94 kB / 354.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.1387, allocations: 159.5 kB / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1388, allocations: 0 / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1388, allocations: 4 kB / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1388, allocations: 4 kB / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1389, allocations: 39.92 kB / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007194/0.1397, allocations: 450.4 kB / 355.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.14, allocations: 142.5 kB / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1401, allocations: 59.41 kB / 355.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.1402, allocations: 8.062 kB / 355.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.1404, allocations: 89.05 kB / 355.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.944e-06/0.1404, allocations: 0 / 355.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004627/0.1409, allocations: 161.3 kB / 355.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.1411, allocations: 158.2 kB / 356 MB, free: 14.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.1414, allocations: 268.9 kB / 356.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.1415, allocations: 25.7 kB / 356.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1416, allocations: 120.3 kB / 356.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.1416, allocations: 19.8 kB / 356.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.1417, allocations: 34.09 kB / 356.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1419, allocations: 330.8 kB / 356.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.142, allocations: 27.92 kB / 356.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1421, allocations: 78.8 kB / 356.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.1423, allocations: 93.36 kB / 357 MB, free: 12.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1424, allocations: 4 kB / 357 MB, free: 12.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000269/0.1426, allocations: 129.5 kB / 357.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1427, allocations: 4 kB / 357.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1427, allocations: 4 kB / 357.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1427, allocations: 0 / 357.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1428, allocations: 23.91 kB / 357.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1428, allocations: 0 / 357.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.904e-05/0.1429, allocations: 15.78 kB / 357.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.143, allocations: 8 kB / 357.1 MB, free: 12.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001728/0.1431, allocations: 145.9 kB / 357.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.1433, allocations: 65.44 kB / 357.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.09e-05/0.1434, allocations: 25.7 kB / 357.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.1434, allocations: 4 kB / 357.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1434, allocations: 0 / 357.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.1434, allocations: 3.938 kB / 357.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.1437, allocations: 233.5 kB / 357.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1437, allocations: 0 / 357.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.1437, allocations: 12 kB / 357.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1438, allocations: 0 / 357.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1438, allocations: 8.062 kB / 357.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1438, allocations: 3.938 kB / 357.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1438, allocations: 0 / 357.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.1441, allocations: 171.4 kB / 357.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.1443, allocations: 120.7 kB / 357.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.1443, allocations: 64 / 357.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.1444, allocations: 12 kB / 357.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.1445, allocations: 15.86 kB / 357.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1445, allocations: 7.938 kB / 358 MB, free: 11.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.1447, allocations: 196.5 kB / 358.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1447, allocations: 0 / 358.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.1451, allocations: 28 kB / 358.2 MB, free: 11.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.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 (11): * Single equations (assignments): 9 * 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.00155/0.1467, allocations: 1.009 MB / 359.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.1469, allocations: 95.83 kB / 359.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1469, allocations: 0 / 359.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.457e-05/0.147, allocations: 31.94 kB / 359.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.1475, allocations: 78.2 kB / 359.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.1503, allocations: 2.035 MB / 361.4 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.1507, allocations: 0.7319 MB / 362.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.1508, allocations: 25.53 kB / 362.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.1509, allocations: 47.42 kB / 362.2 MB, free: 7.555 MB / 302.1 MB Notification: Performance of SimCode: time 1.173e-06/0.1509, allocations: 0 / 362.2 MB, free: 7.555 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.1682, allocations: 4.524 MB / 366.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/0.1686, allocations: 249.2 kB / 367 MB, free: 2.926 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.359, allocations: 0 / 367 MB, free: 2.926 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches