Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 111.4 kB / 17.98 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 201.8 kB / 18.92 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.1 MB, free: 9.074 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 60.17 kB / 307.1 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1128, allocations: 50.53 MB / 357.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004394/0.1173, allocations: 2.431 MB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1188, allocations: 0.7323 MB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.1191, allocations: 7.938 kB / 360.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.1193, allocations: 23.84 kB / 360.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.1194, allocations: 47.55 kB / 360.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.1198, allocations: 83.91 kB / 361 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.1202, allocations: 267 kB / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.1205, allocations: 119 kB / 361.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.1208, allocations: 119.5 kB / 361.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.121, allocations: 115.6 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.1211, allocations: 20 kB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.1212, allocations: 28 kB / 361.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.1212, allocations: 55.77 kB / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1214, allocations: 127.4 kB / 361.8 MB, free: 10 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1217, allocations: 211.8 kB / 362 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1217, allocations: 0 / 362 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1217, allocations: 0 / 362 MB, free: 9.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.1218, allocations: 0 / 362 MB, free: 9.793 MB / 302.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.001608/0.1234, allocations: 0.6755 MB / 362.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.1234, allocations: 12.03 kB / 362.7 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.1237, allocations: 36.64 kB / 362.7 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.1242, allocations: 247.9 kB / 363 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.895e-05/0.1243, allocations: 50.2 kB / 363 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/0.1244, allocations: 20.38 kB / 363 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.1251, allocations: 264 kB / 363.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1251, allocations: 0 / 363.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.1252, allocations: 4 kB / 363.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1252, allocations: 4 kB / 363.3 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/0.1257, allocations: 208.2 kB / 363.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.1271, allocations: 0.7485 MB / 364.3 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007751/0.1279, allocations: 291.2 kB / 364.5 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.1284, allocations: 233.7 kB / 364.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1284, allocations: 0 / 364.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005991/0.129, allocations: 330.4 kB / 365.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.973e-06/0.129, allocations: 0 / 365.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.00124/0.1303, allocations: 0.5675 MB / 365.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.1304, allocations: 199.9 kB / 365.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.1307, allocations: 190.6 kB / 366 MB, free: 5.457 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.1308, allocations: 37.69 kB / 366.1 MB, free: 5.414 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1309, allocations: 128.8 kB / 366.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/0.131, allocations: 82.98 kB / 366.3 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1311, allocations: 70.02 kB / 366.3 MB, free: 5.129 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1313, allocations: 334.8 kB / 366.7 MB, free: 4.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.1315, allocations: 112.6 kB / 366.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.1319, allocations: 175.2 kB / 367 MB, free: 4.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006176/0.1326, allocations: 416.9 kB / 367.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1326, allocations: 0 / 367.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008381/0.1334, allocations: 442.2 kB / 367.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/0.1335, allocations: 96.22 kB / 367.9 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1335, allocations: 3.938 kB / 367.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1336, allocations: 4 kB / 367.9 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.1338, allocations: 39.92 kB / 367.9 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.1338, allocations: 12.02 kB / 367.9 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.134, allocations: 31.75 kB / 368 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.134, allocations: 19.98 kB / 368 MB, free: 3.359 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.000247/0.1343, allocations: 235.8 kB / 368.2 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.1343, allocations: 19.81 kB / 368.2 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.1344, allocations: 34.58 kB / 368.3 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1344, allocations: 4 kB / 368.3 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1344, allocations: 0 / 368.3 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1344, allocations: 0 / 368.3 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.1359, allocations: 0.9279 MB / 369.2 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1359, allocations: 4 kB / 369.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.136, allocations: 23.92 kB / 369.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.136, allocations: 0 / 369.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.1361, allocations: 11.98 kB / 369.3 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1361, allocations: 8.031 kB / 369.3 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1361, allocations: 0 / 369.3 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.1371, allocations: 0.6105 MB / 369.9 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.1373, allocations: 104.8 kB / 370 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.1373, allocations: 16 kB / 370 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.1376, allocations: 24.09 kB / 370 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/0.1377, allocations: 23.97 kB / 370 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.1377, allocations: 11.94 kB / 370 MB, free: 1.168 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1378, allocations: 139.1 kB / 370.2 MB, free: 1.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1378, allocations: 0 / 370.2 MB, free: 1.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003776/0.1382, allocations: 87.83 kB / 370.3 MB, free: 0.9453 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.0002008/0.1384, allocations: 125 kB / 370.4 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009645/0.1394, allocations: 0.5643 MB / 371 MB, free: 216 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1394, allocations: 0 / 371 MB, free: 216 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1473/0.2867, allocations: 393.5 kB / 371.3 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009886/0.2877, allocations: 141.8 kB / 371.5 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.289, allocations: 0.6277 MB / 372.1 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.2892, allocations: 0.749 MB / 372.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.2893, allocations: 21.91 kB / 372.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2893, allocations: 0.6875 kB / 372.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of Templates: time 0.0069/0.2962, allocations: 3.113 MB / 376 MB, free: 19.28 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches