Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_0_0_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.001541/0.001541, allocations: 105.9 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.001741/0.001741, 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.487/1.487, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 46.27 kB / 300.1 MB, free: 5.992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1087, allocations: 49.45 MB / 349.5 MB, free: 4.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003988/0.1127, allocations: 2.391 MB / 351.9 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1141, allocations: 0.6856 MB / 352.6 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1143, allocations: 4 kB / 352.6 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.1145, allocations: 27.72 kB / 352.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.1146, allocations: 51.61 kB / 352.7 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.115, allocations: 67.88 kB / 352.7 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.1153, allocations: 243.1 kB / 353 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.1156, allocations: 98.92 kB / 353.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.1158, allocations: 111.6 kB / 353.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.116, allocations: 107.5 kB / 353.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.128e-05/0.116, allocations: 12 kB / 353.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.466e-05/0.1161, allocations: 16 kB / 353.3 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.1162, allocations: 51.83 kB / 353.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1163, allocations: 111.4 kB / 353.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.1166, allocations: 271.3 kB / 353.7 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1166, allocations: 0 / 353.7 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1167, allocations: 0 / 353.7 MB, free: 288 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1167, allocations: 0 / 353.7 MB, free: 288 kB / 286.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.001192/0.1179, allocations: 0.6716 MB / 354.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1179, allocations: 16.03 kB / 354.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.921e-05/0.118, allocations: 54.73 kB / 354.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.8e-05/0.1181, allocations: 24.66 kB / 354.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.1184, allocations: 232.7 kB / 354.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.1185, allocations: 54.25 kB / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.1186, allocations: 20.38 kB / 354.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007798/0.1194, allocations: 256.1 kB / 355.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1194, allocations: 11.94 kB / 355.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.1195, allocations: 4 kB / 355.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1195, allocations: 7.938 kB / 355.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005507/0.12, allocations: 204.1 kB / 355.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.1215, allocations: 0.764 MB / 356 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.1221, allocations: 291.2 kB / 356.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.1226, allocations: 232.1 kB / 356.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1226, allocations: 4 kB / 356.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005364/0.1231, allocations: 316.3 kB / 356.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.1232, allocations: 0 / 356.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001242/0.1244, allocations: 0.5713 MB / 357.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.1246, allocations: 203.9 kB / 357.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1248, allocations: 182.3 kB / 357.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.1248, allocations: 41.7 kB / 357.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.812e-05/0.1249, allocations: 132.7 kB / 358 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/0.125, allocations: 79 kB / 358.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1251, allocations: 62.03 kB / 358.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1252, allocations: 338.8 kB / 358.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.1255, allocations: 108.6 kB / 358.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.1258, allocations: 175.3 kB / 358.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.1264, allocations: 413.3 kB / 359.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1264, allocations: 0 / 359.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007673/0.1272, allocations: 439.6 kB / 359.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.068e-05/0.1273, allocations: 103.8 kB / 359.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.1273, allocations: 7.938 kB / 359.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1273, allocations: 0 / 359.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1275, allocations: 39.91 kB / 359.7 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1275, allocations: 7.938 kB / 359.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.1277, allocations: 35.83 kB / 359.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.1278, allocations: 8.031 kB / 359.8 MB, free: 9.82 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.0002633/0.1281, allocations: 235.8 kB / 360 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.1281, allocations: 31.66 kB / 360 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.1282, allocations: 22.66 kB / 360 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1282, allocations: 0 / 360 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1282, allocations: 3.984 kB / 360 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1282, allocations: 0 / 360 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.1297, allocations: 0.9317 MB / 361 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.1297, allocations: 0 / 361 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1299, allocations: 27.92 kB / 361 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1299, allocations: 0 / 361 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.1299, allocations: 12 kB / 361 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1299, allocations: 0 / 361 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1299, allocations: 3.984 kB / 361 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1309, allocations: 0.6066 MB / 361.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.131, allocations: 92.86 kB / 361.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.1311, allocations: 31.91 kB / 361.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.1314, allocations: 23.98 kB / 361.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1315, allocations: 24.14 kB / 361.8 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.1315, allocations: 19.91 kB / 361.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1316, allocations: 135.2 kB / 361.9 MB, free: 7.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1316, allocations: 0 / 361.9 MB, free: 7.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.132, allocations: 75.84 kB / 362 MB, free: 7.41 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.001363/0.1334, allocations: 1.183 MB / 363.2 MB, free: 6.184 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009079/0.1343, allocations: 0.5448 MB / 363.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.1343, allocations: 4 kB / 363.8 MB, free: 5.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.1349, allocations: 402.8 kB / 364.1 MB, free: 5.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007849/0.1357, allocations: 133.2 kB / 364.3 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.1399, allocations: 2.975 MB / 367.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.1403, allocations: 0.7409 MB / 368 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.1405, allocations: 57.88 kB / 368 MB, free: 1.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1406, allocations: 67.41 kB / 368.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1406, allocations: 0 / 368.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2081/0.3487, allocations: 6.086 MB / 374.2 MB, free: 25.08 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.349, allocations: 202.7 kB / 374.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.301, allocations: 0 / 374.4 MB, free: 24.83 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches