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.00105/0.00105, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.00145/0.00145, allocations: 163.2 kB / 25.74 MB, free: 8.078 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 0.8813/0.8813, allocations: 158.6 MB / 187.6 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] 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.312e-06/1.312e-06, allocations: 0 / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.114e-05, allocations: 2.312 kB / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002517/0.002538, allocations: 2.342 MB / 253.5 MB, free: 5.43 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003636, allocations: 0.698 MB / 254.1 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.003742, allocations: 0 / 254.1 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.003879, allocations: 31.66 kB / 254.2 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.502e-05/0.003964, allocations: 63.42 kB / 254.2 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.004306, allocations: 95.62 kB / 254.3 MB, free: 4.535 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.004569, allocations: 274.9 kB / 254.6 MB, free: 4.266 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.004761, allocations: 67.67 kB / 254.7 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.004984, allocations: 171.6 kB / 254.8 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.005122, allocations: 87.77 kB / 254.9 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.005157, allocations: 20 kB / 254.9 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.86e-05/0.005185, allocations: 24 kB / 255 MB, free: 3.902 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.005243, allocations: 55.77 kB / 255 MB, free: 3.848 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003611/0.005604, allocations: 83.81 kB / 255.1 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.005828, allocations: 203.3 kB / 255.3 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005831, allocations: 8 kB / 255.3 MB, free: 3.559 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005832, allocations: 0 / 255.3 MB, free: 3.559 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.005835, allocations: 0 / 255.3 MB, free: 3.559 MB / 234.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.0007063/0.006542, allocations: 0.6883 MB / 256 MB, free: 2.816 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.006574, allocations: 11.98 kB / 256 MB, free: 2.805 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.846e-05/0.006653, allocations: 44.8 kB / 256.1 MB, free: 2.762 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.006858, allocations: 188.9 kB / 256.2 MB, free: 2.551 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.00693, allocations: 75.97 kB / 256.3 MB, free: 2.465 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.006954, allocations: 16.38 kB / 256.3 MB, free: 2.449 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.007317, allocations: 314.8 kB / 256.6 MB, free: 2.113 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.007326, allocations: 192 / 256.6 MB, free: 2.113 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.007347, allocations: 12.12 kB / 256.6 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.007357, allocations: 8 kB / 256.7 MB, free: 2.094 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.007539, allocations: 183.9 kB / 256.8 MB, free: 1.898 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007694/0.008308, allocations: 0.6741 MB / 257.5 MB, free: 1.172 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.008562, allocations: 255 kB / 257.8 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.008759, allocations: 211.1 kB / 258 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.008776, allocations: 4 kB / 258 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.009055, allocations: 372.8 kB / 258.3 MB, free: 260 kB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 1.092e-06/0.009056, allocations: 0 / 258.3 MB, free: 260 kB / 234.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005509/0.009607, allocations: 0.5972 MB / 258.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.009683, allocations: 207.9 kB / 259.1 MB, free: 15.37 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.009815, allocations: 233.8 kB / 259.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.009838, allocations: 37.7 kB / 259.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.009915, allocations: 179.6 kB / 259.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.009962, allocations: 79.38 kB / 259.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.697e-05/0.01004, allocations: 75.69 kB / 259.7 MB, free: 14.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.01015, allocations: 0.504 MB / 260.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.01026, allocations: 141.8 kB / 260.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.01039, allocations: 253.9 kB / 260.6 MB, free: 13.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.0106, allocations: 322.6 kB / 260.9 MB, free: 13.38 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.0106, allocations: 4 kB / 260.9 MB, free: 13.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003223/0.01093, allocations: 451.4 kB / 261.4 MB, free: 12.89 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.01097, allocations: 89.09 kB / 261.5 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.01098, allocations: 8 kB / 261.5 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.01099, allocations: 4 kB / 261.5 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.01112, allocations: 43.92 kB / 261.5 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.01112, allocations: 0 / 261.5 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.702e-05/0.01121, allocations: 43.86 kB / 261.6 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.01122, allocations: 15.94 kB / 261.6 MB, free: 12.68 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.0001361/0.01136, allocations: 262.5 kB / 261.8 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.0114, allocations: 39.86 kB / 261.9 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.01167, allocations: 22.66 kB / 261.9 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01168, allocations: 0 / 261.9 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01168, allocations: 8 kB / 261.9 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.01169, allocations: 11.91 kB / 261.9 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/0.01235, allocations: 0.8519 MB / 262.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01235, allocations: 0 / 262.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.01241, allocations: 23.92 kB / 262.8 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01241, allocations: 0 / 262.8 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.01243, allocations: 11.98 kB / 262.8 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01243, allocations: 7.938 kB / 262.8 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01243, allocations: 4.031 kB / 262.8 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.01285, allocations: 0.6434 MB / 263.5 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.01287, allocations: 23.78 kB / 263.5 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.01292, allocations: 19.98 kB / 263.5 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01302, allocations: 19.98 kB / 263.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.01307, allocations: 11.97 kB / 263.5 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.01309, allocations: 15.98 kB / 263.5 MB, free: 10.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.388e-05/0.01315, allocations: 163.2 kB / 263.7 MB, free: 10.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01315, allocations: 4 kB / 263.7 MB, free: 10.4 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.01336, allocations: 79.89 kB / 263.8 MB, free: 10.32 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 8.971e-05/0.01345, allocations: 121.2 kB / 263.9 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.01384, allocations: 0.5529 MB / 264.5 MB, free: 9.574 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01384, allocations: 0 / 264.5 MB, free: 9.574 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.01405, allocations: 333.9 kB / 264.8 MB, free: 9.207 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.01443, allocations: 158.7 kB / 264.9 MB, free: 9.055 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008387/0.01527, allocations: 0.564 MB / 265.5 MB, free: 8.445 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.01532, allocations: 80.83 kB / 265.6 MB, free: 8.348 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.244e-05/0.01541, allocations: 45.88 kB / 265.6 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.01545, allocations: 24.5 kB / 265.6 MB, free: 8.281 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01545, allocations: 4 kB / 265.7 MB, free: 8.277 MB / 250.7 MB Notification: Performance of Templates: time 0.005813/0.02127, allocations: 4.518 MB / 270.2 MB, free: 3.789 MB / 250.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.768934782128781]