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.001441/0.001441, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001702/0.001702, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.449/1.449, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 47.08 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1135, allocations: 49.44 MB / 350.2 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004977/0.1185, allocations: 2.345 MB / 352.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1201, allocations: 0.6661 MB / 353.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1203, allocations: 4 kB / 353.2 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1205, allocations: 27.72 kB / 353.2 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.1206, allocations: 63.42 kB / 353.3 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.1211, allocations: 91.7 kB / 353.4 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.1215, allocations: 259.1 kB / 353.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.1219, allocations: 123.4 kB / 353.7 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.1222, allocations: 119.5 kB / 353.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1224, allocations: 111.5 kB / 354 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.1225, allocations: 20 kB / 354 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.1226, allocations: 27.94 kB / 354 MB, free: 492 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.1227, allocations: 55.83 kB / 354.1 MB, free: 436 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.1229, allocations: 123.4 kB / 354.2 MB, free: 312 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.1233, allocations: 279.3 kB / 354.4 MB, free: 32 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1233, allocations: 0 / 354.4 MB, free: 32 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1233, allocations: 0 / 354.4 MB, free: 32 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1233, allocations: 0 / 354.4 MB, free: 32 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.001465/0.1248, allocations: 0.6716 MB / 355.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.1249, allocations: 8.031 kB / 355.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.302e-05/0.125, allocations: 54.73 kB / 355.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1251, allocations: 28.66 kB / 355.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.1255, allocations: 237.8 kB / 355.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.1256, allocations: 46.27 kB / 355.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.1257, allocations: 24.38 kB / 355.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008446/0.1265, allocations: 260.1 kB / 355.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1266, allocations: 0 / 355.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.1266, allocations: 8 kB / 355.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1266, allocations: 7.938 kB / 355.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007429/0.1274, allocations: 208 kB / 356 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.1293, allocations: 0.7679 MB / 356.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/0.1302, allocations: 295.2 kB / 357 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.1308, allocations: 231.8 kB / 357.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1308, allocations: 4 kB / 357.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007128/0.1316, allocations: 320.8 kB / 357.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/0.1316, allocations: 0 / 357.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001661/0.1332, allocations: 0.5708 MB / 358.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.1334, allocations: 199.9 kB / 358.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1336, allocations: 183.1 kB / 358.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.1337, allocations: 37.7 kB / 358.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1338, allocations: 128.8 kB / 358.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.968e-05/0.1339, allocations: 82.98 kB / 358.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.134, allocations: 66.03 kB / 358.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1342, allocations: 334.8 kB / 359.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.1346, allocations: 112.6 kB / 359.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.135, allocations: 171.3 kB / 359.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/0.1358, allocations: 415.1 kB / 359.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1359, allocations: 0 / 359.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001024/0.1369, allocations: 438.3 kB / 360.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.137, allocations: 105 kB / 360.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.137, allocations: 0 / 360.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/0.1371, allocations: 4 kB / 360.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.1373, allocations: 35.92 kB / 360.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.1374, allocations: 11.88 kB / 360.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.1377, allocations: 31.77 kB / 360.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.1377, allocations: 20.02 kB / 360.5 MB, free: 9.562 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.0003407/0.1381, allocations: 240.8 kB / 360.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.1381, allocations: 27.66 kB / 360.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.1382, allocations: 26.64 kB / 360.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1382, allocations: 4 kB / 360.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1382, allocations: 192 / 360.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1383, allocations: 4 kB / 360.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.1403, allocations: 0.9395 MB / 361.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1403, allocations: 0 / 361.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1405, allocations: 23.92 kB / 361.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1405, allocations: 0 / 361.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.1405, allocations: 11.98 kB / 361.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1405, allocations: 4 kB / 361.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1406, allocations: 0 / 361.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.1419, allocations: 0.6087 MB / 362.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.142, allocations: 92.86 kB / 362.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/0.1421, allocations: 23.98 kB / 362.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.1425, allocations: 23.98 kB / 362.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.1426, allocations: 23.91 kB / 362.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.1426, allocations: 19.92 kB / 362.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1428, allocations: 127.2 kB / 362.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1428, allocations: 0 / 362.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006099/0.1434, allocations: 79.84 kB / 362.7 MB, free: 7.148 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.001887/0.1453, allocations: 1.188 MB / 363.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.1466, allocations: 0.5716 MB / 364.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.1467, allocations: 0 / 364.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.1474, allocations: 405.7 kB / 364.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.1485, allocations: 142.9 kB / 365 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005451/0.154, allocations: 2.907 MB / 367.9 MB, free: 1.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.1544, allocations: 0.7406 MB / 368.7 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.1547, allocations: 53.89 kB / 368.7 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.1549, allocations: 67.41 kB / 368.8 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1549, allocations: 0 / 368.8 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1828/0.3377, allocations: 6.439 MB / 375.2 MB, free: 25.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/7.866, allocations: 16.61 kB / 375.3 MB, free: 25.63 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