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.001275/0.001275, allocations: 117.5 kB / 16.63 MB, free: 6.812 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.001299/0.001299, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.436/1.436, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 52.39 kB / 300.2 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 49.44 MB / 349.7 MB, free: 4.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.00411/0.1205, allocations: 2.402 MB / 352.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1222, allocations: 0.6778 MB / 352.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.1224, allocations: 0 / 352.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1227, allocations: 23.83 kB / 352.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.1229, allocations: 51.58 kB / 352.8 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.1234, allocations: 67.92 kB / 352.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.1238, allocations: 271 kB / 353.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.1242, allocations: 114.9 kB / 353.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.1245, allocations: 115.7 kB / 353.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1247, allocations: 119.5 kB / 353.5 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/0.1248, allocations: 20 kB / 353.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.386e-05/0.1248, allocations: 24 kB / 353.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.1249, allocations: 51.84 kB / 353.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.125, allocations: 127.4 kB / 353.7 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.1254, allocations: 279.3 kB / 354 MB, free: 240 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1254, allocations: 0 / 354 MB, free: 240 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1254, allocations: 0 / 354 MB, free: 240 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1254, allocations: 0 / 354 MB, free: 240 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.001114/0.1265, allocations: 0.66 MB / 354.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1266, allocations: 12.03 kB / 354.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.828e-05/0.1267, allocations: 62.66 kB / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.1267, allocations: 28.66 kB / 354.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.127, allocations: 236.6 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.1271, allocations: 54.2 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.1272, allocations: 16.38 kB / 355.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.1278, allocations: 256.1 kB / 355.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1278, allocations: 4 kB / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.1279, allocations: 12 kB / 355.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.1279, allocations: 7.984 kB / 355.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.1284, allocations: 204 kB / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.1298, allocations: 0.7602 MB / 356.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.1304, allocations: 291.2 kB / 356.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/0.1308, allocations: 233 kB / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1308, allocations: 0 / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000519/0.1314, allocations: 304.3 kB / 357.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.1314, allocations: 3.938 kB / 357.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001188/0.1326, allocations: 0.5752 MB / 357.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.1327, allocations: 207.9 kB / 357.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1329, allocations: 182.3 kB / 358.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.133, allocations: 37.69 kB / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.1331, allocations: 128.8 kB / 358.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.228e-05/0.1332, allocations: 79 kB / 358.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.1334, allocations: 70.02 kB / 358.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1335, allocations: 330.8 kB / 358.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.1338, allocations: 108.6 kB / 358.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.1341, allocations: 179.2 kB / 359 MB, free: 10.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/0.1347, allocations: 419 kB / 359.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1347, allocations: 0 / 359.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008191/0.1355, allocations: 451.2 kB / 359.8 MB, free: 9.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.008e-05/0.1356, allocations: 97.03 kB / 359.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1356, allocations: 0 / 359.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.1357, allocations: 4 kB / 359.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.1359, allocations: 39.92 kB / 360 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.96e-05/0.136, allocations: 3.984 kB / 360 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.1362, allocations: 27.84 kB / 360 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.1362, allocations: 27.95 kB / 360 MB, free: 9.773 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.0002783/0.1365, allocations: 227.8 kB / 360.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.1366, allocations: 31.64 kB / 360.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.1366, allocations: 26.64 kB / 360.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1367, allocations: 4 kB / 360.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1367, allocations: 0 / 360.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1367, allocations: 0 / 360.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.1388, allocations: 0.9278 MB / 361.2 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1389, allocations: 0 / 361.2 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.1391, allocations: 23.92 kB / 361.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1391, allocations: 4 kB / 361.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.1391, allocations: 15.98 kB / 361.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1392, allocations: 0 / 361.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1392, allocations: 4 kB / 361.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.1407, allocations: 0.6027 MB / 361.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.1408, allocations: 100.8 kB / 362 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/0.1409, allocations: 16.19 kB / 362 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.1412, allocations: 27.97 kB / 362 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.1413, allocations: 23.91 kB / 362 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.1414, allocations: 15.94 kB / 362.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1415, allocations: 135.2 kB / 362.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.053e-06/0.1415, allocations: 3.938 kB / 362.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.1419, allocations: 83.78 kB / 362.3 MB, free: 7.371 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.001482/0.1434, allocations: 1.183 MB / 363.5 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.1446, allocations: 0.5721 MB / 364 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1447, allocations: 0 / 364 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007034/0.1454, allocations: 398.9 kB / 364.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.1464, allocations: 141.5 kB / 364.6 MB, free: 4.992 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00565/0.1521, allocations: 2.974 MB / 367.5 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.1526, allocations: 0.7406 MB / 368.3 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002599/0.1529, allocations: 57.88 kB / 368.3 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.1531, allocations: 63.42 kB / 368.4 MB, free: 1 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1531, allocations: 3.938 kB / 368.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.204/0.3571, allocations: 6.309 MB / 374.7 MB, free: 26.5 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.3573, allocations: 199.5 kB / 374.9 MB, free: 26.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.371, allocations: 0 / 374.9 MB, free: 26.25 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