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.0008749/0.000875, allocations: 96.25 kB / 16.31 MB, free: 5.992 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.00098/0.00098, allocations: 182.3 kB / 17.2 MB, free: 5.914 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.45/1.45, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003604, allocations: 6.453 kB / 300.8 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 50.42 MB / 351.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002007/0.1249, allocations: 1.525 MB / 352.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.1259, allocations: 0.5888 MB / 353.3 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.126, allocations: 0 / 353.3 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.1261, allocations: 11.86 kB / 353.4 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1262, allocations: 27.91 kB / 353.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.1266, allocations: 94.45 kB / 353.5 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.1268, allocations: 87.78 kB / 353.6 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1269, allocations: 49.64 kB / 353.6 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.127, allocations: 39.78 kB / 353.7 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.1271, allocations: 39.77 kB / 353.7 MB, free: 9.102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1272, allocations: 4 kB / 353.7 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.1272, allocations: 4 kB / 353.7 MB, free: 9.094 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.1272, allocations: 19.92 kB / 353.7 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.1273, allocations: 49.58 kB / 353.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1274, allocations: 91.8 kB / 353.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1274, allocations: 0 / 353.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.631e-06/0.1274, allocations: 4 kB / 353.9 MB, free: 8.926 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1274, allocations: 3.938 kB / 353.9 MB, free: 8.922 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.0005364/0.128, allocations: 423 kB / 354.3 MB, free: 8.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.128, allocations: 12.03 kB / 354.3 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.1281, allocations: 42.52 kB / 354.3 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.1281, allocations: 15.81 kB / 354.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1284, allocations: 239.6 kB / 354.6 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1284, allocations: 4.188 kB / 354.6 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.1284, allocations: 12 kB / 354.6 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.129, allocations: 295.7 kB / 354.9 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.129, allocations: 0 / 354.9 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1291, allocations: 7.953 kB / 354.9 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.1291, allocations: 4 kB / 354.9 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.1293, allocations: 91.81 kB / 355 MB, free: 7.672 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.1298, allocations: 423.5 kB / 355.4 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.1303, allocations: 310.3 kB / 355.7 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1303, allocations: 12.08 kB / 355.7 MB, free: 6.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1304, allocations: 38.56 kB / 355.8 MB, free: 6.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.1304, allocations: 0 / 355.8 MB, free: 6.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005468/0.1309, allocations: 233.5 kB / 356 MB, free: 6.535 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.131, allocations: 196 kB / 356.2 MB, free: 6.301 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1312, allocations: 179.1 kB / 356.3 MB, free: 6.117 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1312, allocations: 29.7 kB / 356.4 MB, free: 6.082 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.1313, allocations: 108 kB / 356.5 MB, free: 5.973 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1313, allocations: 16 kB / 356.5 MB, free: 5.957 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.1314, allocations: 0 / 356.5 MB, free: 5.957 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1315, allocations: 330.8 kB / 356.8 MB, free: 5.625 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.1316, allocations: 19.98 kB / 356.8 MB, free: 5.605 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1317, allocations: 128.6 kB / 357 MB, free: 5.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.116e-05/0.1318, allocations: 51.89 kB / 357 MB, free: 5.379 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1318, allocations: 0 / 357 MB, free: 5.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002613/0.1321, allocations: 165.1 kB / 357.2 MB, free: 5.211 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1321, allocations: 16.39 kB / 357.2 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1321, allocations: 4 kB / 357.2 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1322, allocations: 11.98 kB / 357.2 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1323, allocations: 35.98 kB / 357.2 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1323, allocations: 7.938 kB / 357.2 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.1324, allocations: 12.36 kB / 357.3 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.1324, allocations: 12 kB / 357.3 MB, free: 5.113 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.1326, allocations: 137.7 kB / 357.4 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.1329, allocations: 153.2 kB / 357.6 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.1329, allocations: 29.34 kB / 357.6 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1329, allocations: 4 kB / 357.6 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.133, allocations: 4 kB / 357.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.133, allocations: 0 / 357.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.1332, allocations: 217.5 kB / 357.8 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1333, allocations: 0 / 357.8 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.1334, allocations: 47.94 kB / 357.9 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1334, allocations: 0 / 357.9 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1334, allocations: 8 kB / 357.9 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1335, allocations: 3.953 kB / 357.9 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1335, allocations: 4 kB / 357.9 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.1339, allocations: 419.8 kB / 358.3 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.87e-05/0.134, allocations: 100.9 kB / 358.4 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.1341, allocations: 8 kB / 358.4 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.1342, allocations: 11.98 kB / 358.4 MB, free: 3.852 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.1343, allocations: 4 kB / 358.4 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1343, allocations: 11.98 kB / 358.4 MB, free: 3.836 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1344, allocations: 133.2 kB / 358.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1344, allocations: 0 / 358.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.1347, allocations: 20 kB / 358.6 MB, free: 3.688 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008963/0.1356, allocations: 1.232 MB / 359.8 MB, free: 2.406 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.1359, allocations: 120.7 kB / 359.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1359, allocations: 0 / 359.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.136, allocations: 15.92 kB / 359.9 MB, free: 2.273 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.1365, allocations: 112.4 kB / 360 MB, free: 2.164 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.1394, allocations: 3.307 MB / 363.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1398, allocations: 0.7241 MB / 364.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.1398, allocations: 13.73 kB / 364.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.1399, allocations: 43.42 kB / 364.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1399, allocations: 4 kB / 364.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.159, allocations: 2.983 MB / 367.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/0.1594, allocations: 202.1 kB / 367.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.015, allocations: 3.938 kB / 367.3 MB, free: 10.88 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat