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.001098/0.001098, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.00279, allocations: 449.7 kB / 10.37 MB, free: 328 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.001059/0.001059, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002405, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9657/0.9657, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09053/1.056, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.432e-06/1.432e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.09e-05, allocations: 2.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.006126/0.006147, allocations: 2.449 MB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.007407, allocations: 0.7357 MB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.007539, allocations: 7.938 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.007657, allocations: 27.72 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.007765, allocations: 63.42 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.008088, allocations: 103.6 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.008394, allocations: 274.9 kB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00319/0.01158, allocations: 70.3 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.01192, allocations: 203.5 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.01212, allocations: 87.77 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.01216, allocations: 20 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.426e-05/0.01223, allocations: 32 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.01228, allocations: 43.8 kB / 248.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.174e-05/0.01237, allocations: 67.88 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.01263, allocations: 183.3 kB / 248.9 MB, free: 9.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.01264, allocations: 0 / 248.9 MB, free: 9.926 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01264, allocations: 0 / 248.9 MB, free: 9.926 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.01266, allocations: 4 kB / 248.9 MB, free: 9.922 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.0008064/0.01346, allocations: 0.6218 MB / 249.5 MB, free: 9.258 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.0135, allocations: 8.031 kB / 249.5 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.01368, allocations: 122 kB / 249.6 MB, free: 9.113 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.01389, allocations: 165.4 kB / 249.8 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.01396, allocations: 75.75 kB / 249.9 MB, free: 8.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.01399, allocations: 28.31 kB / 249.9 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003358/0.01735, allocations: 282.9 kB / 250.2 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.01736, allocations: 192 / 250.2 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.01738, allocations: 12.12 kB / 250.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.01738, allocations: 4 kB / 250.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.01765, allocations: 132.9 kB / 250.3 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007515/0.0184, allocations: 0.5144 MB / 250.8 MB, free: 7.812 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.01864, allocations: 203.6 kB / 251 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.0188, allocations: 164.4 kB / 251.2 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.01881, allocations: 4 kB / 251.2 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.01907, allocations: 341.5 kB / 251.5 MB, free: 7.027 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/0.01908, allocations: 0 / 251.5 MB, free: 7.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004101/0.01949, allocations: 449 kB / 252 MB, free: 6.547 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.01956, allocations: 178.2 kB / 252.1 MB, free: 6.336 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.01968, allocations: 174.5 kB / 252.3 MB, free: 6.152 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.0197, allocations: 41.7 kB / 252.4 MB, free: 6.105 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.01976, allocations: 132.8 kB / 252.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.01982, allocations: 87.28 kB / 252.6 MB, free: 5.887 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.0199, allocations: 69.97 kB / 252.6 MB, free: 5.809 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.01999, allocations: 338.7 kB / 253 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.02008, allocations: 125.8 kB / 253.1 MB, free: 5.328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.02021, allocations: 221.8 kB / 253.3 MB, free: 5.066 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.02041, allocations: 291.3 kB / 253.6 MB, free: 4.734 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.02042, allocations: 0 / 253.6 MB, free: 4.734 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005074/0.02092, allocations: 359.6 kB / 253.9 MB, free: 4.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.02098, allocations: 100.1 kB / 254 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.02099, allocations: 4 kB / 254 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.021, allocations: 4 kB / 254 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.02119, allocations: 55.91 kB / 254.1 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.02119, allocations: 4 kB / 254.1 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.0213, allocations: 35.92 kB / 254.1 MB, free: 4.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.02132, allocations: 8 kB / 254.1 MB, free: 4.117 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.0001428/0.02146, allocations: 226.5 kB / 254.4 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.0215, allocations: 27.97 kB / 254.4 MB, free: 3.844 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.02154, allocations: 22.66 kB / 254.4 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.02154, allocations: 4 kB / 254.4 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.02154, allocations: 0 / 254.4 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.02155, allocations: 7.984 kB / 254.4 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.0221, allocations: 0.5878 MB / 255 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.0221, allocations: 0 / 255 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.0222, allocations: 35.42 kB / 255.1 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.02223, allocations: 31.72 kB / 255.1 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.02223, allocations: 0 / 255.1 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.02225, allocations: 8 kB / 255.1 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.02225, allocations: 12.02 kB / 255.1 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02226, allocations: 0 / 255.1 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.02257, allocations: 455 kB / 255.5 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.02261, allocations: 15.98 kB / 255.6 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.02274, allocations: 19.98 kB / 255.6 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.02279, allocations: 23.91 kB / 255.6 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.02281, allocations: 15.92 kB / 255.6 MB, free: 2.523 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.02285, allocations: 45.86 kB / 255.7 MB, free: 2.477 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02285, allocations: 0 / 255.7 MB, free: 2.477 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.0231, allocations: 75.95 kB / 255.7 MB, free: 2.402 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.0001271/0.02323, allocations: 109.8 kB / 255.8 MB, free: 2.289 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.02359, allocations: 0.506 MB / 256.4 MB, free: 1.711 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.0236, allocations: 4 kB / 256.4 MB, free: 1.707 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.0238, allocations: 299.1 kB / 256.7 MB, free: 1.375 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.02424, allocations: 166.2 kB / 256.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.0263, allocations: 0.5545 MB / 257.4 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.748e-05/0.02636, allocations: 84.81 kB / 257.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.618e-05/0.02646, allocations: 21.94 kB / 257.5 MB, free: 0.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.02668, allocations: 131.3 kB / 257.6 MB, free: 380 kB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02668, allocations: 3.938 kB / 257.6 MB, free: 376 kB / 250.7 MB Notification: Performance of Templates: time 0.00738/0.03406, allocations: 4.901 MB / 262.5 MB, free: 11.59 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.60343558806926]