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: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 96.05 kB / 16.93 MB, free: 5.984 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.001994/0.001994, allocations: 181.4 kB / 17.82 MB, free: 5.652 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.823/1.823, allocations: 205.4 MB / 224 MB, free: 13.16 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.0006533/0.000653, allocations: 8 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1216, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002724/0.1244, allocations: 1.902 MB / 330.2 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1256, allocations: 0.683 MB / 330.9 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1258, allocations: 4 kB / 330.9 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.1259, allocations: 19.84 kB / 330.9 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.126, allocations: 63.8 kB / 331 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.1264, allocations: 75.78 kB / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.1266, allocations: 155.7 kB / 331.2 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.1268, allocations: 89.19 kB / 331.3 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.127, allocations: 95.67 kB / 331.4 MB, free: 1 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1272, allocations: 91.59 kB / 331.5 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.1272, allocations: 12 kB / 331.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.948e-05/0.1273, allocations: 8 kB / 331.5 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.1273, allocations: 39.84 kB / 331.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.1274, allocations: 65.58 kB / 331.6 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.1276, allocations: 207.7 kB / 331.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1276, allocations: 0 / 331.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1276, allocations: 0 / 331.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1277, allocations: 0 / 331.8 MB, free: 0.5781 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.0009735/0.1286, allocations: 0.6325 MB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1287, allocations: 8.031 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.222e-05/0.1288, allocations: 31.62 kB / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1291, allocations: 231.4 kB / 332.7 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.048e-05/0.1292, allocations: 61.58 kB / 332.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.1292, allocations: 20 kB / 332.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/0.1298, allocations: 256.2 kB / 333 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1298, allocations: 0 / 333 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.1298, allocations: 8 kB / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1299, allocations: 7.984 kB / 333.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.1304, allocations: 220.2 kB / 333.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.1316, allocations: 0.7717 MB / 334 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.1322, allocations: 303.4 kB / 334.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1322, allocations: 11.92 kB / 334.4 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005186/0.1328, allocations: 321.5 kB / 334.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/0.1328, allocations: 0 / 334.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001251/0.134, allocations: 0.75 MB / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1342, allocations: 199.9 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1343, allocations: 187 kB / 335.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.1344, allocations: 45.69 kB / 335.8 MB, free: 12.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.1345, allocations: 128.7 kB / 336 MB, free: 12.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.759e-05/0.1346, allocations: 86.98 kB / 336.1 MB, free: 12 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.1346, allocations: 8 kB / 336.1 MB, free: 12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1347, allocations: 334.9 kB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.135, allocations: 116.6 kB / 336.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.1353, allocations: 175.3 kB / 336.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.1356, allocations: 217.8 kB / 336.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1356, allocations: 4 kB / 336.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006988/0.1363, allocations: 462.5 kB / 337.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.006e-05/0.1364, allocations: 89.09 kB / 337.4 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1364, allocations: 4 kB / 337.4 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1364, allocations: 4 kB / 337.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.1367, allocations: 39.92 kB / 337.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1367, allocations: 0 / 337.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1369, allocations: 47.7 kB / 337.5 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.1369, allocations: 12 kB / 337.5 MB, free: 10.43 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 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],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],$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,dA_Converter.trig,$PRE.dA_Converter.vout,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.1371, allocations: 235.7 kB / 337.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.1372, allocations: 23.81 kB / 337.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.1373, allocations: 26.83 kB / 337.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1373, allocations: 4 kB / 337.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1373, allocations: 7.938 kB / 337.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1373, allocations: 3.984 kB / 337.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.1386, allocations: 0.9074 MB / 338.7 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1386, allocations: 0 / 338.7 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.1387, allocations: 31.92 kB / 338.8 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1387, allocations: 0 / 338.8 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.1388, allocations: 11.98 kB / 338.8 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1388, allocations: 0 / 338.8 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1388, allocations: 0 / 338.8 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009045/0.1397, allocations: 0.6235 MB / 339.4 MB, free: 8.434 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.1398, allocations: 104.8 kB / 339.5 MB, free: 8.312 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.1398, allocations: 12 kB / 339.5 MB, free: 8.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.1401, allocations: 31.97 kB / 339.5 MB, free: 8.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.1401, allocations: 23.97 kB / 339.6 MB, free: 8.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.1402, allocations: 7.984 kB / 339.6 MB, free: 8.238 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.085e-05/0.1403, allocations: 132.3 kB / 339.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1403, allocations: 0 / 339.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.1406, allocations: 79.84 kB / 339.8 MB, free: 8.031 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.1408, allocations: 136.7 kB / 339.9 MB, free: 7.883 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007855/0.1416, allocations: 0.5572 MB / 340.5 MB, free: 7.289 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1416, allocations: 0 / 340.5 MB, free: 7.289 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.1421, allocations: 410.5 kB / 340.9 MB, free: 6.863 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.1427, allocations: 119.9 kB / 341 MB, free: 6.746 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/0.1436, allocations: 0.5889 MB / 341.6 MB, free: 6.137 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.1439, allocations: 0.7527 MB / 342.3 MB, free: 5.355 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.1441, allocations: 49.89 kB / 342.4 MB, free: 5.309 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.1441, allocations: 23.44 kB / 342.4 MB, free: 5.285 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1441, allocations: 0 / 342.4 MB, free: 5.285 MB / 286.1 MB Notification: Performance of Templates: time 0.006994/0.1511, allocations: 3.829 MB / 346.2 MB, free: 1.465 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile Environment - environmentSimulation: (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/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