Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",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.00203/0.00203, allocations: 102.8 kB / 17.16 MB, free: 6.32 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.002148/0.002148, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 51.94 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1372, allocations: 46.62 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.005064/0.1423, allocations: 2.375 MB / 329.1 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1441, allocations: 0.7177 MB / 329.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.1445, allocations: 4 kB / 329.8 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.1449, allocations: 35.72 kB / 329.8 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.1452, allocations: 39.62 kB / 329.9 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.1457, allocations: 79.86 kB / 329.9 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.1462, allocations: 239.1 kB / 330.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.1465, allocations: 102.8 kB / 330.3 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.1469, allocations: 107.6 kB / 330.4 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.147, allocations: 115.5 kB / 330.5 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.1471, allocations: 12 kB / 330.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.1471, allocations: 16 kB / 330.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.1472, allocations: 43.84 kB / 330.6 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.1474, allocations: 119.4 kB / 330.7 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.1477, allocations: 263.3 kB / 330.9 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1477, allocations: 4 kB / 330.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1477, allocations: 0 / 330.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1477, allocations: 0 / 330.9 MB, free: 0.5117 MB / 270.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.001216/0.149, allocations: 0.6753 MB / 331.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.149, allocations: 8.031 kB / 331.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.548e-05/0.1491, allocations: 58.72 kB / 331.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.1492, allocations: 32.66 kB / 331.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.1495, allocations: 236.6 kB / 331.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.28e-05/0.1496, allocations: 46.27 kB / 332 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.1496, allocations: 24.36 kB / 332 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007119/0.1504, allocations: 252.1 kB / 332.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1504, allocations: 3.938 kB / 332.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.1504, allocations: 12 kB / 332.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1504, allocations: 7.938 kB / 332.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.1509, allocations: 208.2 kB / 332.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.1523, allocations: 0.76 MB / 333.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.1529, allocations: 299.2 kB / 333.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/0.1534, allocations: 221 kB / 333.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1534, allocations: 8 kB / 333.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.154, allocations: 312.3 kB / 334.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.382e-06/0.154, allocations: 0 / 334.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001211/0.1552, allocations: 0.5708 MB / 334.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.1553, allocations: 199.9 kB / 334.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1555, allocations: 176 kB / 335 MB, free: 12.14 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.1556, allocations: 41.69 kB / 335 MB, free: 12.1 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1557, allocations: 144.7 kB / 335.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.1558, allocations: 67.11 kB / 335.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.1559, allocations: 73.92 kB / 335.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1561, allocations: 338.8 kB / 335.7 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.1563, allocations: 108.6 kB / 335.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.1566, allocations: 175.1 kB / 335.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.1572, allocations: 425.5 kB / 336.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1572, allocations: 0 / 336.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007693/0.158, allocations: 438.3 kB / 336.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.745e-05/0.1581, allocations: 101 kB / 336.9 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1581, allocations: 0 / 336.9 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1581, allocations: 4 kB / 336.9 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1584, allocations: 39.91 kB / 336.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.1584, allocations: 11.88 kB / 336.9 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1586, allocations: 31.83 kB / 337 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.1586, allocations: 12 kB / 337 MB, free: 10.04 MB / 286.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.0002446/0.1589, allocations: 231.8 kB / 337.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.1589, allocations: 35.64 kB / 337.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.159, allocations: 18.66 kB / 337.3 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.159, allocations: 4 kB / 337.3 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.159, allocations: 0 / 337.3 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.159, allocations: 0 / 337.3 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.1605, allocations: 0.9319 MB / 338.2 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1605, allocations: 0 / 338.2 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.1606, allocations: 31.91 kB / 338.2 MB, free: 8.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1607, allocations: 0 / 338.2 MB, free: 8.688 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.1607, allocations: 8 kB / 338.2 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1607, allocations: 0 / 338.2 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1607, allocations: 0 / 338.2 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009735/0.1617, allocations: 0.6128 MB / 338.8 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.1618, allocations: 96.86 kB / 338.9 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.615e-05/0.1619, allocations: 19.98 kB / 339 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.1621, allocations: 15.98 kB / 339 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.1622, allocations: 39.89 kB / 339 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.1622, allocations: 11.94 kB / 339 MB, free: 7.836 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1623, allocations: 131.4 kB / 339.2 MB, free: 7.707 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1623, allocations: 0 / 339.2 MB, free: 7.707 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.1627, allocations: 83.78 kB / 339.2 MB, free: 7.625 MB / 286.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.001467/0.1642, allocations: 1.171 MB / 340.4 MB, free: 6.406 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008599/0.1651, allocations: 0.5455 MB / 340.9 MB, free: 5.824 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1651, allocations: 0 / 340.9 MB, free: 5.824 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.1656, allocations: 410.9 kB / 341.4 MB, free: 5.398 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.1663, allocations: 124.2 kB / 341.5 MB, free: 5.277 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.1708, allocations: 2.979 MB / 344.5 MB, free: 2.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.1714, allocations: 0.737 MB / 345.2 MB, free: 1.418 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002228/0.1716, allocations: 53.89 kB / 345.2 MB, free: 1.367 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.1718, allocations: 67.42 kB / 345.3 MB, free: 1.301 MB / 286.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1718, allocations: 0 / 345.3 MB, free: 1.301 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/0.2171, allocations: 6.091 MB / 351.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004816/0.2177, allocations: 218.2 kB / 351.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/2.449, allocations: 0 / 351.6 MB, free: 10.9 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches