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.00131/0.00131, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001378/0.001378, allocations: 160 kB / 25.6 MB, free: 8.598 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.083/1.083, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.443e-06/1.443e-06, allocations: 3.938 kB / 251.5 MB, free: 7.129 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.918e-05, allocations: 2.312 kB / 251.5 MB, free: 7.125 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003603/0.003632, allocations: 2.315 MB / 253.8 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.004983, allocations: 0.6941 MB / 254.5 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.005109, allocations: 7.938 kB / 254.5 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.005263, allocations: 35.66 kB / 254.5 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.005377, allocations: 59.48 kB / 254.6 MB, free: 3.988 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.005735, allocations: 91.64 kB / 254.7 MB, free: 3.898 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.006059, allocations: 278.9 kB / 254.9 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.006246, allocations: 67.67 kB / 255 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.006552, allocations: 171.6 kB / 255.2 MB, free: 3.391 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.0067, allocations: 87.77 kB / 255.3 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.006742, allocations: 24 kB / 255.3 MB, free: 3.281 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.727e-05/0.006779, allocations: 24 kB / 255.3 MB, free: 3.258 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.006837, allocations: 55.77 kB / 255.4 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.006934, allocations: 83.81 kB / 255.4 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.00721, allocations: 199.3 kB / 255.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.007212, allocations: 0 / 255.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007213, allocations: 0 / 255.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.007219, allocations: 4 kB / 255.6 MB, free: 2.922 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.0008822/0.008101, allocations: 0.6961 MB / 256.3 MB, free: 2.172 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.008152, allocations: 15.98 kB / 256.4 MB, free: 2.156 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.708e-05/0.008239, allocations: 44.8 kB / 256.4 MB, free: 2.113 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.008461, allocations: 180.9 kB / 256.6 MB, free: 1.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/0.008536, allocations: 75.97 kB / 256.7 MB, free: 1.824 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.008563, allocations: 20.31 kB / 256.7 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.008942, allocations: 270.9 kB / 256.9 MB, free: 1.508 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.008951, allocations: 4.188 kB / 256.9 MB, free: 1.504 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.008974, allocations: 12.12 kB / 257 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.008982, allocations: 4 kB / 257 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.009143, allocations: 156.4 kB / 257.1 MB, free: 1.32 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.01003, allocations: 0.6317 MB / 257.7 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.0103, allocations: 230.9 kB / 258 MB, free: 408 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.01048, allocations: 163.2 kB / 258.1 MB, free: 228 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.01049, allocations: 7.938 kB / 258.1 MB, free: 220 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.01079, allocations: 348.7 kB / 258.5 MB, free: 15.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.01079, allocations: 0 / 258.5 MB, free: 15.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005664/0.01135, allocations: 0.5192 MB / 259 MB, free: 15.26 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.01144, allocations: 203.8 kB / 259.2 MB, free: 15.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.01158, allocations: 229.7 kB / 259.4 MB, free: 14.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.01162, allocations: 41.69 kB / 259.5 MB, free: 14.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.0117, allocations: 171.6 kB / 259.6 MB, free: 14.55 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.01177, allocations: 95.33 kB / 259.7 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.495e-05/0.01186, allocations: 75.64 kB / 259.8 MB, free: 14.37 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.012, allocations: 0.5079 MB / 260.3 MB, free: 13.85 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.01211, allocations: 125.8 kB / 260.4 MB, free: 13.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.01225, allocations: 233.9 kB / 260.7 MB, free: 13.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.01248, allocations: 298.6 kB / 260.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01248, allocations: 0 / 260.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003771/0.01286, allocations: 411.4 kB / 261.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/0.01292, allocations: 101.2 kB / 261.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01292, allocations: 0 / 261.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01294, allocations: 4 kB / 261.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.01309, allocations: 43.91 kB / 261.5 MB, free: 12.47 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.0131, allocations: 7.938 kB / 261.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01321, allocations: 27.84 kB / 261.5 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.01323, allocations: 19.92 kB / 261.5 MB, free: 12.41 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.000179/0.01341, allocations: 270.4 kB / 261.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.01346, allocations: 39.86 kB / 261.8 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.0135, allocations: 18.66 kB / 261.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.01351, allocations: 7.984 kB / 261.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01351, allocations: 0 / 261.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01351, allocations: 3.984 kB / 261.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008264/0.01434, allocations: 0.7744 MB / 262.7 MB, free: 11.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01434, allocations: 8.031 kB / 262.7 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.542e-05/0.01443, allocations: 23.92 kB / 262.7 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01443, allocations: 0 / 262.7 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01445, allocations: 8 kB / 262.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.01446, allocations: 8 kB / 262.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01446, allocations: 0 / 262.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.01499, allocations: 0.6004 MB / 263.3 MB, free: 10.53 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.01502, allocations: 23.83 kB / 263.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.01506, allocations: 19.94 kB / 263.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.0152, allocations: 19.98 kB / 263.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.01526, allocations: 23.95 kB / 263.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.01528, allocations: 8 kB / 263.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.422e-05/0.01536, allocations: 159.1 kB / 263.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01536, allocations: 3.938 kB / 263.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003121/0.01567, allocations: 79.88 kB / 263.6 MB, free: 10.2 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.000161/0.01583, allocations: 133.2 kB / 263.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003803/0.01621, allocations: 0.5056 MB / 264.3 MB, free: 9.484 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01621, allocations: 0 / 264.3 MB, free: 9.484 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.01638, allocations: 297.7 kB / 264.6 MB, free: 9.152 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.01679, allocations: 147.4 kB / 264.7 MB, free: 9.012 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.01767, allocations: 0.5369 MB / 265.2 MB, free: 8.43 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.01772, allocations: 80.83 kB / 265.3 MB, free: 8.332 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.636e-05/0.01781, allocations: 29.92 kB / 265.3 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.01802, allocations: 158.1 kB / 265.5 MB, free: 8.148 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01802, allocations: 4 kB / 265.5 MB, free: 8.145 MB / 250.7 MB Notification: Performance of Templates: time 0.006344/0.02436, allocations: 4.827 MB / 270.3 MB, free: 3.352 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.9638708336278796]