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.001006/0.001006, allocations: 94.59 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 8 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002735/0.1281, allocations: 1.945 MB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1293, allocations: 0.686 MB / 360.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1294, allocations: 7.938 kB / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.1295, allocations: 19.84 kB / 360.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.1296, allocations: 59.8 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1299, allocations: 71.84 kB / 360.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.1302, allocations: 167.7 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.1304, allocations: 93.16 kB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.1306, allocations: 95.69 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.1308, allocations: 87.61 kB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.1308, allocations: 12 kB / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.104e-05/0.1309, allocations: 15.98 kB / 361.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.131, allocations: 43.83 kB / 361.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.131, allocations: 65.58 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.1313, allocations: 203.7 kB / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.1313, allocations: 0 / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1313, allocations: 4 kB / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1313, allocations: 0 / 361.6 MB, free: 10.34 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.001043/0.1324, allocations: 0.6287 MB / 362.2 MB, free: 9.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1324, allocations: 12.03 kB / 362.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.1326, allocations: 39.7 kB / 362.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.133, allocations: 227.4 kB / 362.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/0.1331, allocations: 49.69 kB / 362.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.1331, allocations: 27.89 kB / 362.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.1338, allocations: 267.9 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1338, allocations: 3.984 kB / 362.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.1338, allocations: 4 kB / 362.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1338, allocations: 4 kB / 362.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.1343, allocations: 216.3 kB / 363.1 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.1358, allocations: 0.768 MB / 363.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.1364, allocations: 310.9 kB / 364.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1364, allocations: 0 / 364.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005644/0.137, allocations: 329.4 kB / 364.5 MB, free: 7.254 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.137, allocations: 0 / 364.5 MB, free: 7.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001235/0.1382, allocations: 0.7582 MB / 365.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.1384, allocations: 199.9 kB / 365.4 MB, free: 6.203 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1385, allocations: 178.9 kB / 365.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.1386, allocations: 45.69 kB / 365.6 MB, free: 5.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.1387, allocations: 132.7 kB / 365.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.1388, allocations: 75.09 kB / 365.8 MB, free: 5.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.1388, allocations: 15.94 kB / 365.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1389, allocations: 334.9 kB / 366.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.1392, allocations: 120.6 kB / 366.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1394, allocations: 179.3 kB / 366.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.1397, allocations: 223.7 kB / 366.7 MB, free: 4.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1398, allocations: 0 / 366.7 MB, free: 4.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007126/0.1405, allocations: 458.6 kB / 367.1 MB, free: 4.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.1407, allocations: 95.75 kB / 367.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1407, allocations: 3.938 kB / 367.2 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.1407, allocations: 4 kB / 367.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.1409, allocations: 43.86 kB / 367.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.1409, allocations: 3.984 kB / 367.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.1411, allocations: 35.75 kB / 367.3 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.1412, allocations: 19.98 kB / 367.3 MB, free: 4.164 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 ($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.0002789/0.1414, allocations: 235.7 kB / 367.6 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.1415, allocations: 23.72 kB / 367.6 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.1416, allocations: 26.64 kB / 367.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1416, allocations: 0 / 367.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.1416, allocations: 4 kB / 367.6 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1416, allocations: 4 kB / 367.6 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.1429, allocations: 0.897 MB / 368.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.143, allocations: 4 kB / 368.5 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1431, allocations: 31.91 kB / 368.6 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1431, allocations: 0 / 368.6 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.1431, allocations: 8 kB / 368.6 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1431, allocations: 4 kB / 368.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1431, allocations: 7.938 kB / 368.6 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008927/0.144, allocations: 0.6347 MB / 369.2 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.1441, allocations: 100.8 kB / 369.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.1442, allocations: 15.98 kB / 369.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.1444, allocations: 23.98 kB / 369.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/0.1445, allocations: 27.97 kB / 369.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.1446, allocations: 11.98 kB / 369.4 MB, free: 1.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1447, allocations: 131.2 kB / 369.5 MB, free: 1.848 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1447, allocations: 0 / 369.5 MB, free: 1.848 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003566/0.145, allocations: 79.84 kB / 369.6 MB, free: 1.77 MB / 302.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.0002027/0.1452, allocations: 130.7 kB / 369.7 MB, free: 1.633 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008804/0.1461, allocations: 0.559 MB / 370.3 MB, free: 1.039 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1461, allocations: 4.188 kB / 370.3 MB, free: 1.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.1467, allocations: 406.6 kB / 370.7 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.1473, allocations: 127.2 kB / 370.8 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2004/0.3477, allocations: 0.5788 MB / 371.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3481, allocations: 0.748 MB / 372.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003199/0.3484, allocations: 49.27 kB / 372.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.3485, allocations: 21.88 kB / 372.2 MB, free: 19.22 MB / 302.1 MB Notification: Performance of SimCode: time 2.074e-06/0.3485, allocations: 1.969 kB / 372.2 MB, free: 19.22 MB / 302.1 MB Notification: Performance of Templates: time 0.00985/0.3584, allocations: 3.832 MB / 376 MB, free: 19.01 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches