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.001584/0.001584, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.002567/0.002568, allocations: 180.1 kB / 18.66 MB, free: 4.438 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.835/1.835, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001358/0.001358, allocations: 55.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1363, allocations: 46.6 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.005402/0.1418, allocations: 2.337 MB / 377.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1437, allocations: 0.7095 MB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003231/0.144, allocations: 7.938 kB / 378.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.1443, allocations: 27.72 kB / 378.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.1446, allocations: 55.48 kB / 378.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.1452, allocations: 87.78 kB / 378.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.1458, allocations: 275 kB / 378.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003677/0.1462, allocations: 115 kB / 378.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.1466, allocations: 115.6 kB / 378.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.1468, allocations: 111.6 kB / 379 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.126e-05/0.1469, allocations: 24 kB / 379 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.147, allocations: 23.94 kB / 379 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1471, allocations: 55.77 kB / 379.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1473, allocations: 119.5 kB / 379.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.1478, allocations: 278.9 kB / 379.5 MB, free: 264 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1478, allocations: 0 / 379.5 MB, free: 264 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1478, allocations: 0 / 379.5 MB, free: 264 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1479, allocations: 0 / 379.5 MB, free: 264 kB / 318.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.3454/0.4932, allocations: 0.6713 MB / 380.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.4933, allocations: 9.469 kB / 380.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.4934, allocations: 27.08 kB / 380.2 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.4939, allocations: 248.5 kB / 380.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.494, allocations: 50.73 kB / 380.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.4941, allocations: 15.94 kB / 380.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.4948, allocations: 261.5 kB / 380.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4948, allocations: 3.938 kB / 380.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.4948, allocations: 8.844 kB / 380.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.4949, allocations: 8.312 kB / 380.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.4954, allocations: 203.7 kB / 380.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.4969, allocations: 0.7495 MB / 381.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/0.4976, allocations: 300.5 kB / 382 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.4981, allocations: 225.7 kB / 382.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.4982, allocations: 1.953 kB / 382.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006347/0.4988, allocations: 318.2 kB / 382.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 4.528e-06/0.4988, allocations: 0.5312 kB / 382.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001327/0.5002, allocations: 0.5723 MB / 383.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.5003, allocations: 207.4 kB / 383.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.5005, allocations: 187 kB / 383.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.5005, allocations: 36.36 kB / 383.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.5006, allocations: 139.8 kB / 383.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.5007, allocations: 79.59 kB / 383.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.5008, allocations: 68.88 kB / 383.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.5009, allocations: 335.1 kB / 384.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.5012, allocations: 112.8 kB / 384.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.5015, allocations: 178.5 kB / 384.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.5021, allocations: 412.5 kB / 384.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5021, allocations: 1.062 kB / 384.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007978/0.5029, allocations: 444.3 kB / 385.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/0.503, allocations: 92.41 kB / 385.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.503, allocations: 5.406 kB / 385.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-05/0.503, allocations: 8.125 kB / 385.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.5033, allocations: 41.52 kB / 385.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.5033, allocations: 2.594 kB / 385.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.5036, allocations: 34.47 kB / 385.4 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.5037, allocations: 17.5 kB / 385.4 MB, free: 10.16 MB / 318.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.0002921/0.504, allocations: 243.7 kB / 385.7 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.504, allocations: 29.62 kB / 385.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.53e-05/0.5041, allocations: 23.64 kB / 385.7 MB, free: 9.922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5041, allocations: 7.547 kB / 385.7 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.5041, allocations: 2.812 kB / 385.7 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5042, allocations: 2.594 kB / 385.7 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.5062, allocations: 0.9271 MB / 386.7 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5063, allocations: 3.938 kB / 386.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.5064, allocations: 28.97 kB / 386.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.5064, allocations: 1.75 kB / 386.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.5065, allocations: 10.47 kB / 386.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.5065, allocations: 6.203 kB / 386.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5065, allocations: 1.562 kB / 386.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.5079, allocations: 0.603 MB / 387.3 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.508, allocations: 104.4 kB / 387.4 MB, free: 8.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.573e-05/0.5081, allocations: 16.52 kB / 387.4 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.5084, allocations: 22.69 kB / 387.5 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.5085, allocations: 20.31 kB / 387.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.5086, allocations: 10.16 kB / 387.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.5087, allocations: 129.9 kB / 387.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.804e-06/0.5088, allocations: 0 / 387.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005671/0.5093, allocations: 82.3 kB / 387.7 MB, free: 8.789 MB / 318.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.0002699/0.5096, allocations: 128.9 kB / 387.8 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.5107, allocations: 0.5404 MB / 388.4 MB, free: 8.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5107, allocations: 1.656 kB / 388.4 MB, free: 8.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005952/0.5113, allocations: 397.7 kB / 388.8 MB, free: 8.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008242/0.5121, allocations: 160 kB / 388.9 MB, free: 8.117 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.5133, allocations: 0.5313 MB / 389.4 MB, free: 7.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.5136, allocations: 0.747 MB / 390.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.5138, allocations: 56.81 kB / 390.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.5138, allocations: 20.25 kB / 390.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5138, allocations: 0 / 390.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of Templates: time 0.01123/0.5251, allocations: 4.284 MB / 394.6 MB, free: 6.746 MB / 318.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 -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/jenkins/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/jenkins/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