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.001624/0.001625, allocations: 102.7 kB / 16.5 MB, free: 6.688 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.001796/0.001796, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.581/1.581, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 47.8 kB / 300.1 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1223, allocations: 49.46 MB / 349.5 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004651/0.127, allocations: 1.9 MB / 351.4 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1283, allocations: 0.6156 MB / 352 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.1285, allocations: 7.938 kB / 352 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.1288, allocations: 11.86 kB / 352.1 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.129, allocations: 23.84 kB / 352.1 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.1295, allocations: 87.86 kB / 352.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.1298, allocations: 131.6 kB / 352.3 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.1301, allocations: 61.7 kB / 352.4 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1302, allocations: 51.72 kB / 352.4 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1304, allocations: 47.7 kB / 352.5 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.1305, allocations: 4 kB / 352.5 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.73e-05/0.1305, allocations: 4 kB / 352.5 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.1306, allocations: 27.86 kB / 352.5 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.1307, allocations: 59.59 kB / 352.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1309, allocations: 127.5 kB / 352.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1309, allocations: 0 / 352.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1309, allocations: 0 / 352.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1309, allocations: 4 kB / 352.7 MB, free: 1.586 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.0007638/0.1317, allocations: 455.1 kB / 353.1 MB, free: 1.094 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1317, allocations: 8.031 kB / 353.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.959e-05/0.1318, allocations: 46.67 kB / 353.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.1319, allocations: 20.75 kB / 353.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1322, allocations: 229.8 kB / 353.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.1322, allocations: 11.94 kB / 353.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.1323, allocations: 8 kB / 353.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006691/0.1329, allocations: 290.6 kB / 353.7 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.133, allocations: 0 / 353.7 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.133, allocations: 0 / 353.7 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.133, allocations: 4 kB / 353.7 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.1332, allocations: 83.77 kB / 353.8 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.1339, allocations: 427.4 kB / 354.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.1344, allocations: 294.2 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.1346, allocations: 112.2 kB / 354.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.1347, allocations: 8 kB / 354.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.1347, allocations: 46.44 kB / 354.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.1347, allocations: 0 / 354.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005966/0.1353, allocations: 217.5 kB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.1355, allocations: 191.9 kB / 355.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1357, allocations: 175.1 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1357, allocations: 29.7 kB / 355.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.1358, allocations: 108 kB / 355.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.1359, allocations: 7.984 kB / 355.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.136, allocations: 45.7 kB / 355.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1361, allocations: 322.8 kB / 355.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.1362, allocations: 19.98 kB / 355.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.1364, allocations: 138.5 kB / 355.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.1366, allocations: 157.6 kB / 356.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1366, allocations: 0 / 356.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002801/0.1369, allocations: 165.5 kB / 356.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1369, allocations: 11.94 kB / 356.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1369, allocations: 4 kB / 356.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.137, allocations: 4 kB / 356.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1371, allocations: 43.86 kB / 356.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1371, allocations: 4 kB / 356.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.1372, allocations: 16.25 kB / 356.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.1373, allocations: 19.98 kB / 356.3 MB, free: 13.47 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.000124/0.1374, allocations: 129.7 kB / 356.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/0.1377, allocations: 141.3 kB / 356.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.1377, allocations: 25.39 kB / 356.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1377, allocations: 4 kB / 356.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1378, allocations: 3.938 kB / 356.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.1378, allocations: 4 kB / 356.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.1381, allocations: 213.6 kB / 356.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.1381, allocations: 4 kB / 356.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.1382, allocations: 35.92 kB / 356.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.1382, allocations: 7.922 kB / 356.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1382, allocations: 8 kB / 356.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1382, allocations: 0 / 356.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1383, allocations: 4 kB / 356.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.1387, allocations: 359.7 kB / 357.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.1388, allocations: 108.8 kB / 357.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.1388, allocations: 8 kB / 357.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.139, allocations: 15.98 kB / 357.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.139, allocations: 4 kB / 357.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.139, allocations: 8 kB / 357.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1392, allocations: 137.2 kB / 357.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1392, allocations: 0 / 357.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.1395, allocations: 20 kB / 357.5 MB, free: 12.15 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.0008579/0.1404, allocations: 0.8974 MB / 358.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.1407, allocations: 108 kB / 358.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1407, allocations: 0 / 358.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.1408, allocations: 16.03 kB / 358.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.1415, allocations: 104.2 kB / 358.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.1442, allocations: 2.119 MB / 360.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1446, allocations: 0.7202 MB / 361.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.394e-05/0.1446, allocations: 17.55 kB / 361.5 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-05/0.1447, allocations: 39.42 kB / 361.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1448, allocations: 0 / 361.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.161, allocations: 3.081 MB / 364.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.1613, allocations: 221.2 kB / 364.8 MB, free: 4.703 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.126, allocations: 4 kB / 364.8 MB, free: 4.699 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