Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.001804/0.001804, allocations: 107.7 kB / 16.92 MB, free: 6.145 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.001465/0.001465, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.822/1.822, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 52.3 kB / 300.7 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1485, allocations: 49.44 MB / 350.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004548/0.1531, allocations: 1.847 MB / 352 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1547, allocations: 0.6273 MB / 352.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.155, allocations: 11.88 kB / 352.7 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.1552, allocations: 15.8 kB / 352.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.1554, allocations: 31.78 kB / 352.7 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.156, allocations: 102.7 kB / 352.8 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.1563, allocations: 139.6 kB / 352.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.1565, allocations: 53.72 kB / 353 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1567, allocations: 55.73 kB / 353 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.1568, allocations: 51.7 kB / 353.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.1568, allocations: 8 kB / 353.1 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.058e-05/0.1569, allocations: 12 kB / 353.1 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.157, allocations: 35.84 kB / 353.2 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.768e-05/0.1571, allocations: 59.61 kB / 353.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1574, allocations: 135.5 kB / 353.3 MB, free: 1.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1574, allocations: 0 / 353.3 MB, free: 1.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1574, allocations: 4 kB / 353.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1574, allocations: 4 kB / 353.4 MB, free: 1.105 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009012/0.1583, allocations: 451.1 kB / 353.8 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.1584, allocations: 11.89 kB / 353.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.822e-05/0.1585, allocations: 50.61 kB / 353.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.1585, allocations: 16.75 kB / 353.9 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.1589, allocations: 233 kB / 354.1 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.159, allocations: 11.94 kB / 354.1 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.159, allocations: 12 kB / 354.1 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/0.1597, allocations: 284.1 kB / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1597, allocations: 0 / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.1598, allocations: 0 / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1598, allocations: 4 kB / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.16, allocations: 79.81 kB / 354.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.1606, allocations: 431.4 kB / 354.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.1611, allocations: 294.1 kB / 355.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.1613, allocations: 108.3 kB / 355.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.1613, allocations: 4 kB / 355.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.1614, allocations: 42.44 kB / 355.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/0.1614, allocations: 0 / 355.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006243/0.162, allocations: 221.3 kB / 355.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.1622, allocations: 187.9 kB / 355.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1624, allocations: 180.4 kB / 355.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1624, allocations: 33.7 kB / 355.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.1625, allocations: 104 kB / 356.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.1625, allocations: 12.27 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.1626, allocations: 37.56 kB / 356.1 MB, free: 14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1628, allocations: 330.8 kB / 356.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.1628, allocations: 19.98 kB / 356.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.163, allocations: 130.5 kB / 356.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.1632, allocations: 161.6 kB / 356.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1632, allocations: 0 / 356.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003091/0.1636, allocations: 165.1 kB / 356.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1636, allocations: 11.92 kB / 356.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.1636, allocations: 4 kB / 356.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.1636, allocations: 4 kB / 356.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1638, allocations: 39.92 kB / 356.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.1638, allocations: 8.484 kB / 357 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1639, allocations: 19.84 kB / 357 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.1639, allocations: 8 kB / 357 MB, free: 13 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001331/0.1641, allocations: 141.7 kB / 357.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.1644, allocations: 137.3 kB / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.1645, allocations: 25.39 kB / 357.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.1645, allocations: 4 kB / 357.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.1645, allocations: 0 / 357.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1645, allocations: 11.97 kB / 357.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.1648, allocations: 221.6 kB / 357.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1648, allocations: 3.938 kB / 357.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.165, allocations: 31.98 kB / 357.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.165, allocations: 3.938 kB / 357.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.165, allocations: 8 kB / 357.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.165, allocations: 3.984 kB / 357.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.165, allocations: 4 kB / 357.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.1655, allocations: 355.9 kB / 357.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1656, allocations: 120.8 kB / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.1656, allocations: 4 kB / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1658, allocations: 15.98 kB / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.1658, allocations: 4 kB / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1659, allocations: 8 kB / 358.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.166, allocations: 133.2 kB / 358.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.166, allocations: 96 / 358.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000348/0.1664, allocations: 23.94 kB / 358.2 MB, free: 11.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0008295/0.1672, allocations: 0.8974 MB / 359.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.1675, allocations: 119.8 kB / 359.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1676, allocations: 0 / 359.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.64e-05/0.1676, allocations: 11.98 kB / 359.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007403/0.1684, allocations: 99.91 kB / 359.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.1715, allocations: 2.068 MB / 361.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.1719, allocations: 0.7163 MB / 362.1 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.057e-05/0.172, allocations: 17.55 kB / 362.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.255e-05/0.1721, allocations: 39.42 kB / 362.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1721, allocations: 4 kB / 362.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.1999, allocations: 3.308 MB / 365.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.088/9.288, allocations: 19.19 kB / 365.5 MB, free: 4.258 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches