Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001592/0.001592, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 60.17 kB / 306.6 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1307, allocations: 50.52 MB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004088/0.1348, allocations: 1.928 MB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1364, allocations: 0.6741 MB / 359.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.1366, allocations: 3.938 kB / 359.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.1368, allocations: 19.86 kB / 359.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.137, allocations: 15.86 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.1376, allocations: 103.8 kB / 359.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1378, allocations: 143.6 kB / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.138, allocations: 69.67 kB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.1383, allocations: 55.73 kB / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.1384, allocations: 59.64 kB / 360.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.1384, allocations: 8 kB / 360.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-05/0.1385, allocations: 15.98 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.1386, allocations: 31.86 kB / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.1387, allocations: 63.55 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.139, allocations: 143.7 kB / 360.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.139, allocations: 7.984 kB / 360.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.139, allocations: 0 / 360.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.139, allocations: 4 kB / 360.4 MB, free: 10.74 MB / 302.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.000782/0.1398, allocations: 454.8 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.1398, allocations: 12.03 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.1399, allocations: 42.75 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.1401, allocations: 24.73 kB / 360.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.1405, allocations: 236 kB / 361.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.1405, allocations: 11.94 kB / 361.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.1406, allocations: 16 kB / 361.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/0.1412, allocations: 275.5 kB / 361.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1413, allocations: 0 / 361.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.1413, allocations: 4 kB / 361.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1413, allocations: 4 kB / 361.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.1415, allocations: 79.75 kB / 361.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006964/0.1422, allocations: 423.5 kB / 362 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.1428, allocations: 294.1 kB / 362.3 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.143, allocations: 108.4 kB / 362.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.143, allocations: 11.92 kB / 362.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.1431, allocations: 50.44 kB / 362.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.1431, allocations: 0 / 362.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006152/0.1437, allocations: 221.3 kB / 362.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.1439, allocations: 191.9 kB / 362.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.1441, allocations: 186.2 kB / 363 MB, free: 7.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.1441, allocations: 25.7 kB / 363 MB, free: 7.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.1442, allocations: 104.1 kB / 363.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.1443, allocations: 16.17 kB / 363.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.1444, allocations: 37.7 kB / 363.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1445, allocations: 326.8 kB / 363.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.1446, allocations: 19.98 kB / 363.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1448, allocations: 130.5 kB / 363.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.145, allocations: 161.5 kB / 363.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.145, allocations: 4 kB / 363.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000308/0.1454, allocations: 157.2 kB / 364 MB, free: 6.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1454, allocations: 11.94 kB / 364 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1454, allocations: 4 kB / 364 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.1454, allocations: 4.188 kB / 364 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1456, allocations: 35.91 kB / 364 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.1456, allocations: 8 kB / 364 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.1457, allocations: 20.34 kB / 364.1 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1457, allocations: 8 kB / 364.1 MB, free: 6.629 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.0001576/0.1459, allocations: 145.6 kB / 364.2 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.1462, allocations: 149.3 kB / 364.3 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.1463, allocations: 21.39 kB / 364.4 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1463, allocations: 4 kB / 364.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.1463, allocations: 0 / 364.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1463, allocations: 32 / 364.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.1467, allocations: 221.5 kB / 364.6 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.1467, allocations: 4 kB / 364.6 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.1468, allocations: 31.97 kB / 364.6 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/0.1469, allocations: 7.938 kB / 364.6 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.1469, allocations: 4.469 kB / 364.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.1469, allocations: 7.938 kB / 364.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1469, allocations: 0 / 364.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.1474, allocations: 360 kB / 365 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.1476, allocations: 120.7 kB / 365.1 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.1476, allocations: 8 kB / 365.1 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.1478, allocations: 11.98 kB / 365.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.1478, allocations: 7.938 kB / 365.1 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1478, allocations: 8 kB / 365.1 MB, free: 5.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.148, allocations: 132.4 kB / 365.3 MB, free: 5.305 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.148, allocations: 0 / 365.3 MB, free: 5.305 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.1484, allocations: 24 kB / 365.3 MB, free: 5.281 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.000867/0.1492, allocations: 0.8858 MB / 366.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.1496, allocations: 119.8 kB / 366.3 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1497, allocations: 4 kB / 366.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.1497, allocations: 7.938 kB / 366.3 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.1505, allocations: 115.1 kB / 366.4 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.1535, allocations: 2.109 MB / 368.5 MB, free: 1.816 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1539, allocations: 0.7279 MB / 369.3 MB, free: 1.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.276e-05/0.154, allocations: 17.5 kB / 369.3 MB, free: 1.043 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.067e-05/0.1541, allocations: 43.42 kB / 369.3 MB, free: 1 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1541, allocations: 0 / 369.3 MB, free: 1 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3444/0.4986, allocations: 3.233 MB / 372.6 MB, free: 19.83 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.4988, allocations: 232.4 kB / 372.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.642, allocations: 3.125 kB / 372.8 MB, free: 19.57 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches