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.001504/0.001504, allocations: 115.8 kB / 18.4 MB, free: 4.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 203.5 kB / 19.35 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.28 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1361, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004768/0.141, allocations: 2.374 MB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1426, allocations: 0.7439 MB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1428, allocations: 0 / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.143, allocations: 39.64 kB / 362 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1432, allocations: 55.5 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.1437, allocations: 99.75 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.1441, allocations: 271 kB / 362.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.1444, allocations: 119 kB / 362.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.1448, allocations: 127.5 kB / 362.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.145, allocations: 107.6 kB / 362.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.1451, allocations: 24 kB / 362.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-05/0.1451, allocations: 24 kB / 362.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.1452, allocations: 59.78 kB / 362.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.1454, allocations: 123.4 kB / 363 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.1458, allocations: 290.9 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.1458, allocations: 0 / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1458, allocations: 0 / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1458, allocations: 0 / 363.3 MB, free: 8.895 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.001249/0.1471, allocations: 0.6717 MB / 364 MB, free: 8.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.1471, allocations: 12.03 kB / 364 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.1474, allocations: 36.64 kB / 364 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.1479, allocations: 239.9 kB / 364.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.148, allocations: 57.98 kB / 364.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.148, allocations: 16.38 kB / 364.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.1487, allocations: 264.3 kB / 364.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1487, allocations: 0 / 364.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.1487, allocations: 4 kB / 364.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.1488, allocations: 4 kB / 364.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.1493, allocations: 200.3 kB / 364.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.1507, allocations: 0.7601 MB / 365.6 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.1513, allocations: 294.8 kB / 365.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/0.1518, allocations: 230.5 kB / 366.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1518, allocations: 4 kB / 366.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005454/0.1524, allocations: 320.2 kB / 366.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.1524, allocations: 0 / 366.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001268/0.1536, allocations: 0.5708 MB / 367 MB, free: 5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.1538, allocations: 199.9 kB / 367.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.1541, allocations: 191.4 kB / 367.4 MB, free: 4.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.1541, allocations: 41.69 kB / 367.4 MB, free: 4.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.1543, allocations: 128.8 kB / 367.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.785e-05/0.1544, allocations: 87 kB / 367.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1545, allocations: 66.02 kB / 367.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1547, allocations: 338.8 kB / 368 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.1549, allocations: 104.6 kB / 368.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.1552, allocations: 175.3 kB / 368.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.1558, allocations: 413.3 kB / 368.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.1558, allocations: 4 kB / 368.7 MB, free: 3.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008657/0.1567, allocations: 441.8 kB / 369.1 MB, free: 2.684 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.731e-05/0.1568, allocations: 97.19 kB / 369.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1568, allocations: 7.938 kB / 369.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.1569, allocations: 4 kB / 369.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.1571, allocations: 35.92 kB / 369.3 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.1571, allocations: 3.984 kB / 369.3 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.1573, allocations: 43.67 kB / 369.3 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.1573, allocations: 8 kB / 369.3 MB, free: 2.469 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.0003079/0.1577, allocations: 239.8 kB / 369.5 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.1577, allocations: 19.81 kB / 369.6 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.1578, allocations: 30.77 kB / 369.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1578, allocations: 4 kB / 369.6 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.1578, allocations: 3.938 kB / 369.6 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1578, allocations: 0 / 369.6 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.1594, allocations: 0.9395 MB / 370.5 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1594, allocations: 0 / 370.5 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.1595, allocations: 23.98 kB / 370.6 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1596, allocations: 0 / 370.6 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.1596, allocations: 12.02 kB / 370.6 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.1596, allocations: 12 kB / 370.6 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1596, allocations: 0 / 370.6 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009756/0.1606, allocations: 0.6125 MB / 371.2 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1607, allocations: 100.8 kB / 371.3 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.1608, allocations: 23.92 kB / 371.3 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.161, allocations: 19.98 kB / 371.3 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.1611, allocations: 19.97 kB / 371.4 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.1612, allocations: 12 kB / 371.4 MB, free: 268 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1613, allocations: 132.2 kB / 371.5 MB, free: 136 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1613, allocations: 4 kB / 371.5 MB, free: 132 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003753/0.1617, allocations: 83.83 kB / 371.6 MB, free: 48 kB / 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.2734/0.4351, allocations: 122.5 kB / 371.7 MB, free: 20.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.4367, allocations: 0.5362 MB / 372.2 MB, free: 20.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4368, allocations: 0 / 372.2 MB, free: 20.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006638/0.4374, allocations: 399.4 kB / 372.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008774/0.4383, allocations: 142.3 kB / 372.8 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.4397, allocations: 0.5185 MB / 373.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.44, allocations: 0.7491 MB / 374 MB, free: 19.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.4402, allocations: 48.5 kB / 374.1 MB, free: 19.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.4403, allocations: 21.3 kB / 374.1 MB, free: 19.04 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4403, allocations: 4.375 kB / 374.1 MB, free: 19.04 MB / 302.1 MB Notification: Performance of Templates: time 0.01242/0.4528, allocations: 4.272 MB / 378.4 MB, free: 18.83 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 -s cvode -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