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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002482/0.002482, allocations: 99.53 kB / 21.73 MB, free: 2.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002113/0.002113, allocations: 159.9 kB / 25.03 MB, free: 7.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,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=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.328e-05, allocations: 2.312 kB / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004146/0.004179, allocations: 2.295 MB / 252.7 MB, free: 1.617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.005685, allocations: 0.7058 MB / 253.4 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.005799, allocations: 3.938 kB / 253.4 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.005975, allocations: 31.7 kB / 253.4 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.006108, allocations: 59.44 kB / 253.5 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.00649, allocations: 91.75 kB / 253.5 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.006894, allocations: 274.8 kB / 253.8 MB, free: 460 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.007114, allocations: 79.59 kB / 253.9 MB, free: 380 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.007419, allocations: 167.7 kB / 254.1 MB, free: 212 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.007611, allocations: 87.77 kB / 254.1 MB, free: 124 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.007666, allocations: 20 kB / 254.2 MB, free: 104 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-05/0.007722, allocations: 24 kB / 254.2 MB, free: 80 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.007809, allocations: 51.83 kB / 254.2 MB, free: 28 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.007974, allocations: 87.75 kB / 254.3 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.008404, allocations: 287.1 kB / 254.6 MB, free: 15.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.008408, allocations: 4 kB / 254.6 MB, free: 15.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.008409, allocations: 4 kB / 254.6 MB, free: 15.65 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.008416, allocations: 0 / 254.6 MB, free: 15.65 MB / 250.7 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.001212/0.009628, allocations: 0.6998 MB / 255.3 MB, free: 14.9 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.009671, allocations: 11.98 kB / 255.3 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.009794, allocations: 40.8 kB / 255.4 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.01014, allocations: 196.8 kB / 255.6 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.01025, allocations: 75.97 kB / 255.6 MB, free: 14.54 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.01029, allocations: 24.3 kB / 255.7 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/0.01096, allocations: 330.2 kB / 256 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.01097, allocations: 192 / 256 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.01101, allocations: 8.125 kB / 256 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.01102, allocations: 4 kB / 256 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005606/0.01158, allocations: 255.6 kB / 256.2 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.01317, allocations: 0.7323 MB / 257 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006397/0.01381, allocations: 299 kB / 257.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.01429, allocations: 251.2 kB / 257.5 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.01432, allocations: 0 / 257.5 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006722/0.01499, allocations: 420.9 kB / 257.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.342e-06/0.01499, allocations: 0 / 257.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.001391/0.01639, allocations: 0.6869 MB / 258.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.01656, allocations: 195.9 kB / 258.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.01684, allocations: 257.9 kB / 259 MB, free: 10.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.01688, allocations: 37.7 kB / 259.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.01704, allocations: 187.5 kB / 259.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.01715, allocations: 91.38 kB / 259.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.01729, allocations: 91.61 kB / 259.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003356/0.01763, allocations: 0.5157 MB / 260 MB, free: 9.887 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.01794, allocations: 177.7 kB / 260.1 MB, free: 9.691 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.01834, allocations: 286 kB / 260.4 MB, free: 9.359 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.01893, allocations: 374.6 kB / 260.8 MB, free: 8.938 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01894, allocations: 4.031 kB / 260.8 MB, free: 8.934 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000853/0.01979, allocations: 0.4916 MB / 261.3 MB, free: 8.398 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.624e-05/0.01988, allocations: 93.09 kB / 261.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.01989, allocations: 4 kB / 261.4 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.01991, allocations: 0 / 261.4 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.02013, allocations: 43.91 kB / 261.4 MB, free: 8.242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.02013, allocations: 8.094 kB / 261.4 MB, free: 8.234 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.02033, allocations: 43.7 kB / 261.5 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.02035, allocations: 12 kB / 261.5 MB, free: 8.18 MB / 250.7 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.0003263/0.02068, allocations: 274.5 kB / 261.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.02076, allocations: 39.86 kB / 261.8 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.348e-05/0.02082, allocations: 26.64 kB / 261.8 MB, free: 7.824 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.02083, allocations: 8 kB / 261.8 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.02083, allocations: 4 kB / 261.8 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.02084, allocations: 3.938 kB / 261.8 MB, free: 7.809 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.02248, allocations: 0.9339 MB / 262.8 MB, free: 6.805 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.02249, allocations: 0 / 262.8 MB, free: 6.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.02261, allocations: 28.02 kB / 262.8 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.02261, allocations: 0 / 262.8 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.02264, allocations: 15.94 kB / 262.8 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.02265, allocations: 3.938 kB / 262.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02265, allocations: 0 / 262.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.02381, allocations: 0.7059 MB / 263.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.02386, allocations: 27.77 kB / 263.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.02393, allocations: 20 kB / 263.6 MB, free: 5.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.02414, allocations: 15.98 kB / 263.6 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/0.02424, allocations: 23.97 kB / 263.6 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.02427, allocations: 11.98 kB / 263.6 MB, free: 5.906 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001789/0.02445, allocations: 175.2 kB / 263.8 MB, free: 5.734 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02445, allocations: 0 / 263.8 MB, free: 5.734 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003622/0.02481, allocations: 79.89 kB / 263.9 MB, free: 5.656 MB / 250.7 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.0002/0.02501, allocations: 129.2 kB / 264 MB, free: 5.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.02603, allocations: 0.6192 MB / 264.6 MB, free: 4.828 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.02603, allocations: 4 kB / 264.6 MB, free: 4.824 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.02659, allocations: 382 kB / 265 MB, free: 4.41 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007759/0.02737, allocations: 156.4 kB / 265.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.02851, allocations: 0.5601 MB / 265.7 MB, free: 3.656 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.02867, allocations: 142 kB / 265.8 MB, free: 3.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.02883, allocations: 49.89 kB / 265.9 MB, free: 3.453 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.02889, allocations: 20.5 kB / 265.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02889, allocations: 0 / 265.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of Templates: time 0.01031/0.0392, allocations: 4.514 MB / 270.4 MB, free: 14.94 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.67642874608282]