Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008867/0.0008867, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001993, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007033/0.0007033, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001777, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9295/0.9295, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08204/1.012, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.124e-05, allocations: 6.109 kB / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003222/0.003243, allocations: 2.453 MB / 247.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.004433, allocations: 0.7396 MB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.074e-05/0.004524, allocations: 0 / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.703e-05/0.004621, allocations: 31.66 kB / 247.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.442e-05/0.004715, allocations: 63.42 kB / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.004984, allocations: 107.6 kB / 248.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.005255, allocations: 270.9 kB / 248.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.005415, allocations: 82.27 kB / 248.5 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.005701, allocations: 191.6 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.005846, allocations: 91.75 kB / 248.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.005883, allocations: 24 kB / 248.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.005955, allocations: 24 kB / 248.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.006007, allocations: 39.81 kB / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.006087, allocations: 71.88 kB / 248.9 MB, free: 10 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.006331, allocations: 179.4 kB / 249.1 MB, free: 9.828 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.006341, allocations: 0 / 249.1 MB, free: 9.828 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006342, allocations: 7.938 kB / 249.1 MB, free: 9.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.006351, allocations: 0 / 249.1 MB, free: 9.82 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.000842/0.007193, allocations: 0.6179 MB / 249.7 MB, free: 9.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.007221, allocations: 12.03 kB / 249.7 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.007402, allocations: 122 kB / 249.8 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.007601, allocations: 165.4 kB / 250 MB, free: 8.824 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.007668, allocations: 79.75 kB / 250.1 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.007698, allocations: 16.38 kB / 250.1 MB, free: 8.719 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.008033, allocations: 278.9 kB / 250.4 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.008042, allocations: 192 / 250.4 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.008062, allocations: 12.12 kB / 250.4 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.008072, allocations: 11.98 kB / 250.4 MB, free: 8.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.008218, allocations: 140.8 kB / 250.5 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007345/0.008953, allocations: 0.5144 MB / 251 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.009184, allocations: 191.7 kB / 251.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.009419, allocations: 168.4 kB / 251.4 MB, free: 7.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.009435, allocations: 4 kB / 251.4 MB, free: 7.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002704/0.009706, allocations: 357.4 kB / 251.7 MB, free: 6.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.213e-06/0.009707, allocations: 0 / 251.7 MB, free: 6.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004086/0.01012, allocations: 452.2 kB / 252.2 MB, free: 6.426 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.01022, allocations: 281 kB / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.01034, allocations: 174.5 kB / 252.6 MB, free: 5.906 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.01037, allocations: 33.7 kB / 252.7 MB, free: 5.867 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.01066, allocations: 132.9 kB / 252.8 MB, free: 5.734 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.01072, allocations: 91.27 kB / 252.9 MB, free: 5.645 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.101e-05/0.0108, allocations: 69.97 kB / 252.9 MB, free: 5.566 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.01089, allocations: 338.7 kB / 253.3 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.01097, allocations: 121.8 kB / 253.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.0111, allocations: 217.9 kB / 253.6 MB, free: 4.828 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.0113, allocations: 291.2 kB / 253.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01131, allocations: 0 / 253.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002911/0.0116, allocations: 367.6 kB / 254.2 MB, free: 4.094 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.01165, allocations: 93.09 kB / 254.3 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01166, allocations: 0 / 254.3 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01167, allocations: 8.109 kB / 254.3 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.01187, allocations: 59.91 kB / 254.4 MB, free: 3.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.01187, allocations: 4 kB / 254.4 MB, free: 3.914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.01198, allocations: 35.77 kB / 254.4 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.012, allocations: 12 kB / 254.5 MB, free: 3.867 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.0001503/0.01215, allocations: 222.5 kB / 254.7 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.01219, allocations: 35.97 kB / 254.7 MB, free: 3.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.01223, allocations: 22.66 kB / 254.7 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01223, allocations: 4 kB / 254.7 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.01223, allocations: 0 / 254.7 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01224, allocations: 3.984 kB / 254.7 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.0128, allocations: 0.5878 MB / 255.3 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0128, allocations: 0 / 255.3 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.0129, allocations: 38.34 kB / 255.4 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.01293, allocations: 23.8 kB / 255.4 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01293, allocations: 0 / 255.4 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.01295, allocations: 11.98 kB / 255.4 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01295, allocations: 4 kB / 255.4 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.01295, allocations: 3.938 kB / 255.4 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.01328, allocations: 456.8 kB / 255.8 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.01332, allocations: 16 kB / 255.9 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.01345, allocations: 19.98 kB / 255.9 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.01351, allocations: 23.95 kB / 255.9 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.01353, allocations: 11.94 kB / 255.9 MB, free: 2.281 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.219e-05/0.01357, allocations: 44.8 kB / 256 MB, free: 2.234 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01357, allocations: 4 kB / 256 MB, free: 2.23 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.01383, allocations: 71.95 kB / 256 MB, free: 2.16 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.000122/0.01395, allocations: 110.3 kB / 256.1 MB, free: 2.043 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.01433, allocations: 0.5169 MB / 256.7 MB, free: 1.457 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.01434, allocations: 4 kB / 256.7 MB, free: 1.453 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.01455, allocations: 302.9 kB / 257 MB, free: 1.117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.01508, allocations: 446.3 kB / 257.4 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.01709, allocations: 0.551 MB / 257.9 MB, free: 44 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.024e-05/0.01716, allocations: 80.89 kB / 258 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.01726, allocations: 25.94 kB / 258.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.0175, allocations: 139.2 kB / 258.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01751, allocations: 0 / 258.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of Templates: time 0.007397/0.0249, allocations: 4.888 MB / 263.1 MB, free: 11.01 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4888904010877013]