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.001052/0.001056, allocations: 99.67 kB / 17.58 MB, free: 5.418 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.0009868/0.0009869, allocations: 192 kB / 18.51 MB, free: 4.508 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.35/1.35, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001381/0.001381, allocations: 59.92 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1198, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.005127/0.125, allocations: 2.334 MB / 329.7 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1267, allocations: 0.7098 MB / 330.4 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.127, allocations: 4 kB / 330.4 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.1273, allocations: 31.66 kB / 330.5 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1275, allocations: 59.42 kB / 330.5 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.128, allocations: 91.77 kB / 330.6 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.1285, allocations: 267 kB / 330.9 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.1288, allocations: 111 kB / 331 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.1292, allocations: 115.6 kB / 331.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.1295, allocations: 111.5 kB / 331.2 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.15e-05/0.1295, allocations: 24 kB / 331.2 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-05/0.1296, allocations: 20 kB / 331.2 MB, free: 500 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.1297, allocations: 55.83 kB / 331.3 MB, free: 444 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1299, allocations: 127.3 kB / 331.4 MB, free: 316 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.1303, allocations: 271.4 kB / 331.7 MB, free: 44 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1304, allocations: 0 / 331.7 MB, free: 44 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1304, allocations: 0 / 331.7 MB, free: 44 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.1304, allocations: 4 kB / 331.7 MB, free: 40 kB / 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.001505/0.1319, allocations: 0.6714 MB / 332.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.132, allocations: 8.031 kB / 332.4 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.153e-05/0.1321, allocations: 58.73 kB / 332.4 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1322, allocations: 32.64 kB / 332.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.1326, allocations: 236.7 kB / 332.7 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.1327, allocations: 54.2 kB / 332.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.1328, allocations: 16.38 kB / 332.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.1335, allocations: 255.9 kB / 333 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1335, allocations: 4 kB / 333 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.1336, allocations: 8 kB / 333 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1336, allocations: 4 kB / 333 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005159/0.1341, allocations: 204.3 kB / 333.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.1357, allocations: 0.7716 MB / 334 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.1363, allocations: 295.2 kB / 334.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.1368, allocations: 228.9 kB / 334.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.1369, allocations: 4 kB / 334.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005131/0.1374, allocations: 316.3 kB / 334.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.1374, allocations: 0 / 334.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001207/0.1386, allocations: 0.5746 MB / 335.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.1388, allocations: 199.9 kB / 335.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.139, allocations: 183.1 kB / 335.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.139, allocations: 37.69 kB / 335.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1391, allocations: 140.7 kB / 335.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.1392, allocations: 75.08 kB / 336 MB, free: 11.4 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1393, allocations: 73.92 kB / 336.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1395, allocations: 338.8 kB / 336.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.1397, allocations: 104.6 kB / 336.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.14, allocations: 175.1 kB / 336.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.1407, allocations: 413.5 kB / 337.1 MB, free: 10.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1407, allocations: 0 / 337.1 MB, free: 10.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007063/0.1414, allocations: 438.1 kB / 337.5 MB, free: 9.777 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.942e-05/0.1415, allocations: 101.1 kB / 337.6 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1415, allocations: 4 kB / 337.6 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1415, allocations: 4 kB / 337.6 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.1417, allocations: 39.92 kB / 337.7 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.1418, allocations: 8.172 kB / 337.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.142, allocations: 23.84 kB / 337.7 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.1421, allocations: 15.94 kB / 337.7 MB, free: 9.566 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.0002781/0.1424, allocations: 243.8 kB / 337.9 MB, free: 9.305 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.1424, allocations: 31.66 kB / 338 MB, free: 9.273 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.1425, allocations: 26.58 kB / 338 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1425, allocations: 4 kB / 338 MB, free: 9.242 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1425, allocations: 0 / 338 MB, free: 9.242 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1425, allocations: 0 / 338 MB, free: 9.242 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.1439, allocations: 0.9318 MB / 338.9 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1439, allocations: 8.031 kB / 338.9 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.144, allocations: 19.98 kB / 339 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.144, allocations: 0 / 339 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.1441, allocations: 15.98 kB / 339 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1441, allocations: 0 / 339 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1441, allocations: 0 / 339 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009746/0.1451, allocations: 0.6164 MB / 339.6 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.1452, allocations: 100.8 kB / 339.7 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.1452, allocations: 16 kB / 339.7 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.1454, allocations: 19.97 kB / 339.7 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.1455, allocations: 23.98 kB / 339.8 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.1456, allocations: 19.92 kB / 339.8 MB, free: 7.352 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1457, allocations: 124.3 kB / 339.9 MB, free: 7.23 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1457, allocations: 4 kB / 339.9 MB, free: 7.227 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.146, allocations: 75.84 kB / 340 MB, free: 7.152 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.001397/0.1474, allocations: 1.183 MB / 341.2 MB, free: 5.922 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000932/0.1484, allocations: 0.572 MB / 341.7 MB, free: 5.312 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.1484, allocations: 4 kB / 341.7 MB, free: 5.309 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005317/0.1489, allocations: 398.6 kB / 342.1 MB, free: 4.895 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.1497, allocations: 150.7 kB / 342.3 MB, free: 4.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.1536, allocations: 2.911 MB / 345.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.154, allocations: 0.7405 MB / 345.9 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.1542, allocations: 49.91 kB / 346 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1543, allocations: 67.41 kB / 346 MB, free: 0.832 MB / 286.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1543, allocations: 4 kB / 346 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.1801, allocations: 6.444 MB / 352.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.726, allocations: 7.938 kB / 352.5 MB, free: 10.31 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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