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.0011/0.0011, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001174/0.001174, allocations: 165.8 kB / 25.32 MB, free: 9.48 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.9548/0.9548, allocations: 158.6 MB / 187.2 MB, free: 2.543 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.733e-06/1.733e-06, allocations: 0 / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.852e-05, allocations: 2.312 kB / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003172/0.0032, allocations: 2.337 MB / 253.4 MB, free: 1.238 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.004558, allocations: 0.7057 MB / 254.1 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.004728, allocations: 4 kB / 254.1 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.00493, allocations: 35.66 kB / 254.1 MB, free: 496 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.005087, allocations: 55.48 kB / 254.2 MB, free: 440 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.005543, allocations: 99.58 kB / 254.3 MB, free: 340 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.005966, allocations: 270.9 kB / 254.5 MB, free: 68 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.006238, allocations: 71.72 kB / 254.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003958/0.006634, allocations: 171.5 kB / 254.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.006819, allocations: 87.77 kB / 254.9 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.006867, allocations: 20 kB / 254.9 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.822e-05/0.006915, allocations: 24 kB / 254.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.006984, allocations: 55.81 kB / 255 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.00711, allocations: 83.77 kB / 255 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.007554, allocations: 203.3 kB / 255.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.007559, allocations: 0 / 255.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.007561, allocations: 0 / 255.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.007569, allocations: 0 / 255.2 MB, free: 15.36 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.0009862/0.008555, allocations: 0.6923 MB / 255.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.008601, allocations: 11.98 kB / 255.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.00871, allocations: 48.8 kB / 256 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.008986, allocations: 184.8 kB / 256.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.812e-05/0.009074, allocations: 79.95 kB / 256.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.009105, allocations: 20.38 kB / 256.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.009559, allocations: 306.8 kB / 256.6 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.009568, allocations: 192 / 256.6 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.009592, allocations: 16.12 kB / 256.6 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.009602, allocations: 4 kB / 256.6 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.009813, allocations: 188.1 kB / 256.8 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.01079, allocations: 0.67 MB / 257.4 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.01111, allocations: 247.2 kB / 257.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.01135, allocations: 207.1 kB / 257.9 MB, free: 12.49 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.01137, allocations: 4.172 kB / 257.9 MB, free: 12.49 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/0.01171, allocations: 379.7 kB / 258.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 2.695e-06/0.01171, allocations: 0 / 258.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008777/0.01259, allocations: 0.6049 MB / 258.9 MB, free: 11.42 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/0.01269, allocations: 199.9 kB / 259.1 MB, free: 11.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.01285, allocations: 233.8 kB / 259.3 MB, free: 10.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.01288, allocations: 41.69 kB / 259.3 MB, free: 10.89 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.01297, allocations: 171.7 kB / 259.5 MB, free: 10.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.01303, allocations: 87.3 kB / 259.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.01312, allocations: 79.67 kB / 259.7 MB, free: 10.54 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.01326, allocations: 0.504 MB / 260.2 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.01338, allocations: 141.8 kB / 260.3 MB, free: 9.859 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.01353, allocations: 249.9 kB / 260.5 MB, free: 9.562 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.01376, allocations: 326.6 kB / 260.9 MB, free: 9.188 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.01376, allocations: 0 / 260.9 MB, free: 9.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003737/0.01414, allocations: 447.4 kB / 261.3 MB, free: 8.707 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/0.0142, allocations: 93.09 kB / 261.4 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.0142, allocations: 4 kB / 261.4 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.01423, allocations: 4 kB / 261.4 MB, free: 8.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.01438, allocations: 47.91 kB / 261.5 MB, free: 8.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.01439, allocations: 8.094 kB / 261.5 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.01449, allocations: 35.77 kB / 261.5 MB, free: 8.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.01451, allocations: 16 kB / 261.5 MB, free: 8.484 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.0001826/0.0147, allocations: 266.4 kB / 261.8 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.01474, allocations: 39.86 kB / 261.8 MB, free: 8.16 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.01478, allocations: 22.64 kB / 261.8 MB, free: 8.141 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.01478, allocations: 8 kB / 261.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.01479, allocations: 0 / 261.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01479, allocations: 3.938 kB / 261.8 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/0.01557, allocations: 0.852 MB / 262.7 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.01558, allocations: 0 / 262.7 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.01567, allocations: 23.92 kB / 262.7 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01567, allocations: 7.938 kB / 262.7 MB, free: 7.176 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.872e-05/0.01569, allocations: 8.031 kB / 262.7 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.01569, allocations: 7.938 kB / 262.7 MB, free: 7.16 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.0157, allocations: 0 / 262.7 MB, free: 7.16 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.01619, allocations: 0.6434 MB / 263.4 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.01622, allocations: 31.77 kB / 263.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.01626, allocations: 12 kB / 263.4 MB, free: 6.426 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.01637, allocations: 19.98 kB / 263.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.01644, allocations: 15.97 kB / 263.5 MB, free: 6.391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.01647, allocations: 19.97 kB / 263.5 MB, free: 6.371 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.905e-05/0.01655, allocations: 167.2 kB / 263.6 MB, free: 6.207 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01655, allocations: 0 / 263.6 MB, free: 6.207 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.01679, allocations: 79.89 kB / 263.7 MB, free: 6.129 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.0001361/0.01693, allocations: 121.2 kB / 263.8 MB, free: 6.004 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.01738, allocations: 0.5529 MB / 264.4 MB, free: 5.379 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.01738, allocations: 8.188 kB / 264.4 MB, free: 5.371 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.0176, allocations: 325.7 kB / 264.7 MB, free: 5.012 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.01805, allocations: 153.2 kB / 264.9 MB, free: 4.867 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.01914, allocations: 0.5641 MB / 265.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.01938, allocations: 84.81 kB / 265.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.01949, allocations: 45.89 kB / 265.6 MB, free: 4.113 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.01955, allocations: 24.5 kB / 265.6 MB, free: 4.09 MB / 250.7 MB Notification: Performance of SimCode: time 1.021e-06/0.01955, allocations: 0 / 265.6 MB, free: 4.09 MB / 250.7 MB Notification: Performance of Templates: time 0.006947/0.0265, allocations: 4.515 MB / 270.1 MB, free: 15.59 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0324251111596823]