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.001228/0.001228, allocations: 104.9 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.001293/0.001293, 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.458/1.458, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 47.12 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1198, allocations: 49.44 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003943/0.1238, allocations: 1.855 MB / 352 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1253, allocations: 0.637 MB / 352.7 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.1256, allocations: 4 kB / 352.7 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.1259, allocations: 23.73 kB / 352.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1261, allocations: 19.8 kB / 352.7 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.1266, allocations: 99.77 kB / 352.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1268, allocations: 139.6 kB / 352.9 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.127, allocations: 61.7 kB / 353 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1271, allocations: 47.8 kB / 353 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1272, allocations: 55.7 kB / 353.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.1273, allocations: 8 kB / 353.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.602e-05/0.1273, allocations: 12 kB / 353.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.1274, allocations: 39.78 kB / 353.2 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.737e-05/0.1275, allocations: 59.61 kB / 353.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.1277, allocations: 131.5 kB / 353.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.1277, allocations: 0 / 353.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1277, allocations: 0 / 353.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1277, allocations: 4 kB / 353.3 MB, free: 1.117 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.0006868/0.1284, allocations: 461.6 kB / 353.8 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1285, allocations: 8.031 kB / 353.8 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.1285, allocations: 46.73 kB / 353.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.1286, allocations: 16.75 kB / 353.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.1289, allocations: 229.8 kB / 354.1 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1289, allocations: 15.88 kB / 354.1 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.129, allocations: 12 kB / 354.1 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.1296, allocations: 276.2 kB / 354.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1296, allocations: 3.938 kB / 354.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1296, allocations: 4 kB / 354.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1296, allocations: 8 kB / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.1299, allocations: 71.83 kB / 354.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000553/0.1304, allocations: 431.4 kB / 354.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.1309, allocations: 298.1 kB / 355.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.1312, allocations: 112.2 kB / 355.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1312, allocations: 0 / 355.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.1313, allocations: 46.5 kB / 355.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.1313, allocations: 3.938 kB / 355.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005931/0.1319, allocations: 213.3 kB / 355.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.132, allocations: 196.2 kB / 355.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1322, allocations: 179.1 kB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1322, allocations: 29.7 kB / 355.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1323, allocations: 108 kB / 356.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.1323, allocations: 7.984 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.1324, allocations: 37.61 kB / 356.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1325, allocations: 322.8 kB / 356.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-05/0.1325, allocations: 27.98 kB / 356.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1327, allocations: 133.2 kB / 356.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1329, allocations: 161.6 kB / 356.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1329, allocations: 0 / 356.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002502/0.1331, allocations: 169.5 kB / 356.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1332, allocations: 7.938 kB / 356.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1332, allocations: 4 kB / 356.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.1332, allocations: 4 kB / 356.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1333, allocations: 35.92 kB / 356.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1333, allocations: 7.938 kB / 357 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.809e-05/0.1335, allocations: 24.2 kB / 357 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1335, allocations: 8 kB / 357 MB, free: 13.01 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.0001159/0.1336, allocations: 137.9 kB / 357.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.1339, allocations: 149.2 kB / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.1339, allocations: 21.39 kB / 357.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1339, allocations: 4 kB / 357.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.134, allocations: 0 / 357.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.134, allocations: 4 kB / 357.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.1343, allocations: 213.6 kB / 357.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1343, allocations: 240 / 357.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.1344, allocations: 43.95 kB / 357.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1344, allocations: 7.922 kB / 357.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1344, allocations: 4 kB / 357.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1344, allocations: 0 / 357.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1344, allocations: 7.984 kB / 357.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.1349, allocations: 357 kB / 357.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-05/0.135, allocations: 116.8 kB / 358 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.135, allocations: 0 / 358 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1351, allocations: 15.98 kB / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.1352, allocations: 0 / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1352, allocations: 8 kB / 358.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1353, allocations: 137.2 kB / 358.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1353, allocations: 0 / 358.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.1356, allocations: 20 kB / 358.2 MB, free: 11.68 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.0007218/0.1364, allocations: 0.8935 MB / 359.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.1367, allocations: 116.7 kB / 359.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1367, allocations: 4.062 kB / 359.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.682e-05/0.1368, allocations: 19.92 kB / 359.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.1375, allocations: 103.2 kB / 359.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.14, allocations: 2.068 MB / 361.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1403, allocations: 0.7163 MB / 362.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.422e-05/0.1404, allocations: 13.55 kB / 362.1 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.1405, allocations: 47.36 kB / 362.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1405, allocations: 8 kB / 362.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.1636, allocations: 3.317 MB / 365.5 MB, free: 4.266 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.418, allocations: 14.12 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 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.csv","/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