Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001218, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 56.19 kB / 306.9 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1504, allocations: 50.54 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.005238/0.1557, allocations: 2.381 MB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1577, allocations: 0.7439 MB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1579, allocations: 4 kB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.1582, allocations: 35.66 kB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.1583, allocations: 51.48 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.1589, allocations: 99.75 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.1593, allocations: 275 kB / 361 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.1596, allocations: 115 kB / 361.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.1599, allocations: 119.5 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1601, allocations: 115.6 kB / 361.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.1602, allocations: 20 kB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.1603, allocations: 35.94 kB / 361.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.1603, allocations: 47.83 kB / 361.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.1605, allocations: 123.4 kB / 361.6 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.1609, allocations: 279.4 kB / 361.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1609, allocations: 0 / 361.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1609, allocations: 0 / 361.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1609, allocations: 0 / 361.9 MB, free: 9.688 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001264/0.1622, allocations: 0.6755 MB / 362.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1623, allocations: 12.03 kB / 362.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.1625, allocations: 36.58 kB / 362.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1628, allocations: 243.9 kB / 362.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.1629, allocations: 42.27 kB / 362.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.163, allocations: 28.38 kB / 362.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008333/0.1638, allocations: 256 kB / 363.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1639, allocations: 0 / 363.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.1639, allocations: 8 kB / 363.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1639, allocations: 4 kB / 363.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.1644, allocations: 212.2 kB / 363.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.1662, allocations: 0.7679 MB / 364.1 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.1668, allocations: 291.2 kB / 364.4 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.1672, allocations: 230.6 kB / 364.7 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1672, allocations: 4 kB / 364.7 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005415/0.1678, allocations: 324.2 kB / 365 MB, free: 6.359 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.1678, allocations: 0 / 365 MB, free: 6.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001264/0.1691, allocations: 0.567 MB / 365.5 MB, free: 5.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.1692, allocations: 199.9 kB / 365.7 MB, free: 5.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1694, allocations: 191.4 kB / 365.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.1695, allocations: 41.69 kB / 366 MB, free: 5.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.1696, allocations: 132.8 kB / 366.1 MB, free: 5.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/0.1697, allocations: 75 kB / 366.2 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1698, allocations: 70.02 kB / 366.2 MB, free: 5.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.17, allocations: 338.8 kB / 366.6 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.1702, allocations: 108.6 kB / 366.7 MB, free: 4.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.1705, allocations: 171.3 kB / 366.8 MB, free: 4.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.1711, allocations: 413 kB / 367.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1711, allocations: 4 kB / 367.3 MB, free: 3.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007214/0.1718, allocations: 434.2 kB / 367.7 MB, free: 3.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.532e-05/0.1719, allocations: 93.09 kB / 367.8 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1719, allocations: 11.94 kB / 367.8 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1719, allocations: 0 / 367.8 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.1721, allocations: 48 kB / 367.8 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1722, allocations: 7.938 kB / 367.8 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.1724, allocations: 43.61 kB / 367.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1724, allocations: 12 kB / 367.9 MB, free: 3.242 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.0002699/0.1727, allocations: 227.8 kB / 368.1 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.1727, allocations: 27.81 kB / 368.1 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.336e-05/0.1728, allocations: 30.58 kB / 368.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1728, allocations: 0 / 368.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1728, allocations: 0 / 368.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1728, allocations: 4 kB / 368.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.1743, allocations: 0.9357 MB / 369.1 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1743, allocations: 0 / 369.1 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.1744, allocations: 23.92 kB / 369.1 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1744, allocations: 7.984 kB / 369.1 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.1745, allocations: 12.03 kB / 369.1 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1745, allocations: 0 / 369.1 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1745, allocations: 4 kB / 369.2 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008844/0.1754, allocations: 0.6087 MB / 369.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.1755, allocations: 105 kB / 369.9 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.1755, allocations: 15.98 kB / 369.9 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1757, allocations: 27.91 kB / 369.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.1758, allocations: 27.91 kB / 369.9 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.1759, allocations: 8 kB / 369.9 MB, free: 1.043 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.176, allocations: 132.2 kB / 370.1 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.176, allocations: 4 kB / 370.1 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.1763, allocations: 83.83 kB / 370.2 MB, free: 0.8281 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.0002166/0.1766, allocations: 121 kB / 370.3 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009403/0.1775, allocations: 0.5708 MB / 370.8 MB, free: 96 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1775, allocations: 0 / 370.8 MB, free: 96 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2426/0.4201, allocations: 390.5 kB / 371.2 MB, free: 20.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.4213, allocations: 135.4 kB / 371.4 MB, free: 20.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.4227, allocations: 0.5352 MB / 371.9 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.423, allocations: 0.7438 MB / 372.6 MB, free: 19.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.4232, allocations: 60.23 kB / 372.7 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.4232, allocations: 28.22 kB / 372.7 MB, free: 19.57 MB / 302.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4232, allocations: 1 kB / 372.7 MB, free: 19.57 MB / 302.1 MB Notification: Performance of Templates: time 0.01018/0.4334, allocations: 4.255 MB / 377 MB, free: 19.34 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches