Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001369/0.001369, allocations: 114.1 kB / 17.29 MB, free: 6.219 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.001394/0.001394, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 39.25 kB / 300.8 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.09101, allocations: 49.44 MB / 350.2 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003936/0.095, allocations: 2.406 MB / 352.6 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.09623, allocations: 0.6661 MB / 353.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.0964, allocations: 0 / 353.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.09661, allocations: 23.84 kB / 353.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.09676, allocations: 55.5 kB / 353.4 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.09709, allocations: 71.92 kB / 353.5 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.09747, allocations: 267.1 kB / 353.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.0977, allocations: 114.9 kB / 353.8 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.09794, allocations: 115.6 kB / 353.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.09811, allocations: 115.5 kB / 354 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.09816, allocations: 23.94 kB / 354.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-05/0.09821, allocations: 24 kB / 354.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.09829, allocations: 55.83 kB / 354.2 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.09843, allocations: 119.4 kB / 354.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.09867, allocations: 203.8 kB / 354.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.09868, allocations: 7.938 kB / 354.5 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09869, allocations: 0 / 354.5 MB, free: 496 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.0987, allocations: 0 / 354.5 MB, free: 496 kB / 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.001047/0.09975, allocations: 0.6716 MB / 355.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.0998, allocations: 8.031 kB / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/0.09989, allocations: 32.66 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.1002, allocations: 240.6 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.1003, allocations: 46.27 kB / 355.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.1003, allocations: 24.38 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.1009, allocations: 256.2 kB / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.101, allocations: 0 / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.101, allocations: 8 kB / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.101, allocations: 8 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004841/0.1015, allocations: 204.1 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.1028, allocations: 0.7563 MB / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.1034, allocations: 299.1 kB / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/0.1038, allocations: 221 kB / 357.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1039, allocations: 8 kB / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005109/0.1044, allocations: 318.9 kB / 357.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.724e-06/0.1044, allocations: 0 / 357.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001155/0.1055, allocations: 0.5751 MB / 358.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.1057, allocations: 199.9 kB / 358.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1058, allocations: 182.3 kB / 358.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.1059, allocations: 33.7 kB / 358.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.106, allocations: 140.7 kB / 358.7 MB, free: 12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.758e-05/0.1061, allocations: 82.98 kB / 358.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.1062, allocations: 62.03 kB / 358.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1063, allocations: 334.8 kB / 359.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.1065, allocations: 112.6 kB / 359.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.1068, allocations: 171.3 kB / 359.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.1074, allocations: 417.3 kB / 359.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1074, allocations: 0 / 359.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006842/0.1081, allocations: 438.9 kB / 360.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.1081, allocations: 101.2 kB / 360.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1082, allocations: 7.922 kB / 360.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1082, allocations: 4 kB / 360.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.1084, allocations: 35.92 kB / 360.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1084, allocations: 4 kB / 360.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1086, allocations: 31.83 kB / 360.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.1087, allocations: 12 kB / 360.4 MB, free: 10.09 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.0002404/0.1089, allocations: 245.6 kB / 360.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.109, allocations: 27.72 kB / 360.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.109, allocations: 22.58 kB / 360.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.109, allocations: 4 kB / 360.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1091, allocations: 0 / 360.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1091, allocations: 0 / 360.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.1104, allocations: 0.9356 MB / 361.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1104, allocations: 4.031 kB / 361.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1106, allocations: 19.98 kB / 361.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1106, allocations: 192 / 361.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.1106, allocations: 15.92 kB / 361.7 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1106, allocations: 7.938 kB / 361.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1106, allocations: 0 / 361.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008776/0.1115, allocations: 0.6147 MB / 362.3 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.1116, allocations: 92.86 kB / 362.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.1117, allocations: 23.98 kB / 362.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.1119, allocations: 19.98 kB / 362.5 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.112, allocations: 23.97 kB / 362.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.112, allocations: 15.98 kB / 362.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1121, allocations: 135.2 kB / 362.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1121, allocations: 0 / 362.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.1125, allocations: 79.84 kB / 362.7 MB, free: 7.68 MB / 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.0001655/0.1127, allocations: 136.9 kB / 362.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008483/0.1135, allocations: 0.5645 MB / 363.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1135, allocations: 0 / 363.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.114, allocations: 406.8 kB / 363.8 MB, free: 6.512 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000698/0.1147, allocations: 146.5 kB / 363.9 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1158, allocations: 0.6321 MB / 364.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.1162, allocations: 0.7367 MB / 365.3 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/0.1163, allocations: 27.44 kB / 365.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1163, allocations: 0 / 365.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of Templates: time 0.005827/0.1221, allocations: 3.096 MB / 368.4 MB, free: 1.859 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches