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.001396/0.001396, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001337/0.001337, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.596/1.596, allocations: 205.1 MB / 225.1 MB, free: 12.26 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.001482/0.001482, allocations: 51.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1161, allocations: 46.62 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003994/0.1202, allocations: 2.345 MB / 331.1 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1216, allocations: 0.7059 MB / 331.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1217, allocations: 4 kB / 331.8 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1219, allocations: 35.66 kB / 331.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.122, allocations: 51.48 kB / 331.8 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1224, allocations: 91.77 kB / 331.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.1227, allocations: 274.9 kB / 332.2 MB, free: 248 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.123, allocations: 107 kB / 332.3 MB, free: 140 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1232, allocations: 115.6 kB / 332.4 MB, free: 24 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1234, allocations: 123.5 kB / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.1234, allocations: 20 kB / 332.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.057e-05/0.1235, allocations: 24 kB / 332.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.1236, allocations: 51.84 kB / 332.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.1237, allocations: 119.4 kB / 332.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.1241, allocations: 279 kB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1241, allocations: 0 / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1241, allocations: 0 / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1241, allocations: 0 / 333 MB, free: 15.42 MB / 286.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.001157/0.1253, allocations: 0.6717 MB / 333.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.1253, allocations: 12.02 kB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/0.1254, allocations: 32.59 kB / 333.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.1258, allocations: 236.6 kB / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.232e-05/0.1259, allocations: 50.27 kB / 334 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.126, allocations: 16.38 kB / 334 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.1265, allocations: 260 kB / 334.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1266, allocations: 4 kB / 334.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.1266, allocations: 4 kB / 334.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1266, allocations: 4 kB / 334.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/0.1271, allocations: 208.3 kB / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.1285, allocations: 0.7599 MB / 335.3 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.1291, allocations: 299.2 kB / 335.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/0.1295, allocations: 225 kB / 335.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1295, allocations: 4 kB / 335.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005454/0.1301, allocations: 312.3 kB / 336.1 MB, free: 12.13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.1301, allocations: 0 / 336.1 MB, free: 12.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001193/0.1313, allocations: 0.5746 MB / 336.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.1315, allocations: 199.9 kB / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1317, allocations: 187.1 kB / 337 MB, free: 11.11 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.1317, allocations: 41.69 kB / 337.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1318, allocations: 136.7 kB / 337.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.1319, allocations: 71.09 kB / 337.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.1321, allocations: 70.02 kB / 337.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1323, allocations: 334.8 kB / 337.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.1325, allocations: 104.6 kB / 337.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.1329, allocations: 183 kB / 338 MB, free: 10.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.1335, allocations: 409.6 kB / 338.4 MB, free: 9.688 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1335, allocations: 3.938 kB / 338.4 MB, free: 9.684 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007578/0.1343, allocations: 438.3 kB / 338.8 MB, free: 9.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.1344, allocations: 97.19 kB / 338.9 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.1344, allocations: 7.875 kB / 338.9 MB, free: 9.109 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.1344, allocations: 4 kB / 338.9 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1347, allocations: 39.91 kB / 338.9 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.1347, allocations: 4 kB / 338.9 MB, free: 9.062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.1349, allocations: 35.73 kB / 339 MB, free: 9.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.1349, allocations: 20 kB / 339 MB, free: 9.008 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 (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.0002772/0.1352, allocations: 235.7 kB / 339.2 MB, free: 8.754 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.1353, allocations: 23.72 kB / 339.3 MB, free: 8.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.1353, allocations: 30.58 kB / 339.3 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.1353, allocations: 4 kB / 339.3 MB, free: 8.695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.1354, allocations: 4 kB / 339.3 MB, free: 8.691 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1354, allocations: 4 kB / 339.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.1368, allocations: 0.928 MB / 340.2 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1369, allocations: 4.031 kB / 340.2 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.137, allocations: 19.98 kB / 340.2 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.137, allocations: 0 / 340.2 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.137, allocations: 15.92 kB / 340.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.137, allocations: 4 kB / 340.3 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.137, allocations: 0 / 340.3 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009592/0.138, allocations: 0.6125 MB / 340.9 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.1381, allocations: 96.84 kB / 341 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.1382, allocations: 19.98 kB / 341 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.1384, allocations: 19.98 kB / 341 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.1385, allocations: 23.97 kB / 341 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.1385, allocations: 8 kB / 341 MB, free: 6.816 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1386, allocations: 136.2 kB / 341.2 MB, free: 6.684 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1386, allocations: 0 / 341.2 MB, free: 6.684 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00034/0.139, allocations: 79.84 kB / 341.3 MB, free: 6.605 MB / 286.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.0002018/0.1392, allocations: 136.9 kB / 341.4 MB, free: 6.457 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008632/0.14, allocations: 0.5456 MB / 341.9 MB, free: 5.875 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1401, allocations: 0 / 341.9 MB, free: 5.875 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.1406, allocations: 394.9 kB / 342.3 MB, free: 5.465 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.1413, allocations: 154.2 kB / 342.5 MB, free: 5.316 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1424, allocations: 0.5211 MB / 343 MB, free: 4.77 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.1428, allocations: 0.7483 MB / 343.7 MB, free: 3.996 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.143, allocations: 57.89 kB / 343.8 MB, free: 3.941 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.1431, allocations: 19.44 kB / 343.8 MB, free: 3.922 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1431, allocations: 0 / 343.8 MB, free: 3.922 MB / 286.1 MB Notification: Performance of Templates: time 0.008441/0.1515, allocations: 4.244 MB / 348.1 MB, free: 15.69 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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