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.001141/0.00114, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3236, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.00451/0.3282, allocations: 2.372 MB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.3299, allocations: 0.74 MB / 413.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.3302, allocations: 7.938 kB / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.3304, allocations: 27.72 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.3306, allocations: 51.5 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.3311, allocations: 103.7 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.3314, allocations: 279 kB / 413.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.3317, allocations: 107 kB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.3319, allocations: 127.6 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.3321, allocations: 111.6 kB / 413.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.3322, allocations: 24 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.033e-05/0.3323, allocations: 24 kB / 413.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.063e-05/0.3323, allocations: 59.77 kB / 414 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.3325, allocations: 119.4 kB / 414.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.3329, allocations: 288.1 kB / 414.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3329, allocations: 0 / 414.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3329, allocations: 3.984 kB / 414.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3329, allocations: 0 / 414.4 MB, free: 13.18 MB / 334.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.001056/0.334, allocations: 0.6562 MB / 415 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.334, allocations: 8.031 kB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.3342, allocations: 40.55 kB / 415.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.3346, allocations: 255.8 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.3347, allocations: 58.03 kB / 415.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.3348, allocations: 20.38 kB / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.3353, allocations: 256.3 kB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3353, allocations: 0 / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.3354, allocations: 11.94 kB / 415.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3354, allocations: 4 kB / 415.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.3359, allocations: 204.3 kB / 415.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.3372, allocations: 0.7524 MB / 416.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.3378, allocations: 299.2 kB / 416.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.3382, allocations: 232 kB / 417.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3383, allocations: 0 / 417.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/0.3388, allocations: 308.9 kB / 417.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.225e-06/0.3388, allocations: 0 / 417.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001164/0.34, allocations: 0.5785 MB / 418 MB, free: 9.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.3401, allocations: 199.9 kB / 418.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3403, allocations: 187.4 kB / 418.4 MB, free: 8.859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.3403, allocations: 45.69 kB / 418.4 MB, free: 8.809 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.3404, allocations: 136.7 kB / 418.6 MB, free: 8.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/0.3405, allocations: 79 kB / 418.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.3406, allocations: 66.02 kB / 418.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3407, allocations: 334.8 kB / 419 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.341, allocations: 108.6 kB / 419.1 MB, free: 8.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.3413, allocations: 175.3 kB / 419.3 MB, free: 7.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.3418, allocations: 417.4 kB / 419.7 MB, free: 7.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3418, allocations: 3.938 kB / 419.7 MB, free: 7.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000691/0.3425, allocations: 439.4 kB / 420.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.481e-05/0.3426, allocations: 97.09 kB / 420.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3426, allocations: 3.984 kB / 420.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3426, allocations: 7.938 kB / 420.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.3428, allocations: 43.91 kB / 420.3 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.3429, allocations: 4 kB / 420.3 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.3431, allocations: 31.77 kB / 420.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.3431, allocations: 12.03 kB / 420.3 MB, free: 6.754 MB / 334.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.0002308/0.3433, allocations: 240.8 kB / 420.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.3434, allocations: 27.7 kB / 420.6 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.3434, allocations: 26.59 kB / 420.6 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3434, allocations: 0 / 420.6 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.3435, allocations: 0 / 420.6 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.3435, allocations: 104.8 kB / 420.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.3436, allocations: 16 kB / 420.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.3438, allocations: 23.97 kB / 420.8 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.3439, allocations: 19.98 kB / 420.8 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00111/0.345, allocations: 0.741 MB / 421.5 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009136/0.3459, allocations: 0.6696 MB / 422.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003799/0.3463, allocations: 251.2 kB / 422.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3464, allocations: 139.2 kB / 422.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.3464, allocations: 0 / 422.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009007/0.3473, allocations: 488.8 kB / 423.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of SimCode: time 0.001047/0.3484, allocations: 0.9869 MB / 424.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of Templates: time 0.007392/0.3558, allocations: 3.511 MB / 427.6 MB, free: 15.35 MB / 350.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