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.0009637/0.0009637, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009764/0.0009764, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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.9931/0.9931, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.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.943e-06/1.943e-06, allocations: 0 / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.536e-05, allocations: 2.312 kB / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002879/0.002904, allocations: 2.398 MB / 275.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.003928, allocations: 0.7204 MB / 276.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.004036, allocations: 4 kB / 276.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.004211, allocations: 39.59 kB / 276.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.6e-05/0.004297, allocations: 55.5 kB / 276.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.00468, allocations: 107.6 kB / 276.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.004963, allocations: 270.9 kB / 276.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.005148, allocations: 71.66 kB / 276.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.005405, allocations: 175.6 kB / 276.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.005529, allocations: 87.77 kB / 277 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.005563, allocations: 27.94 kB / 277 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.897e-05/0.005622, allocations: 24 kB / 277 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.005673, allocations: 59.81 kB / 277.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.454e-05/0.005758, allocations: 83.77 kB / 277.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.006023, allocations: 211.2 kB / 277.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006027, allocations: 0 / 277.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006028, allocations: 0 / 277.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.006032, allocations: 0 / 277.4 MB, free: 13.5 MB / 266.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.0007767/0.006809, allocations: 0.6923 MB / 278.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.006845, allocations: 8.031 kB / 278.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.007012, allocations: 60.73 kB / 278.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.007247, allocations: 176.2 kB / 278.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/0.007326, allocations: 79.95 kB / 278.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.007353, allocations: 16.38 kB / 278.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.007733, allocations: 310.9 kB / 278.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.007741, allocations: 4.188 kB / 278.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.007763, allocations: 16.12 kB / 278.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.007772, allocations: 4 kB / 278.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.007956, allocations: 184.2 kB / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.008781, allocations: 0.6855 MB / 279.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.009064, allocations: 247.2 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.009268, allocations: 214.2 kB / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.009284, allocations: 4 kB / 280 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.009584, allocations: 376.7 kB / 280.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.552e-06/0.009585, allocations: 0 / 280.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005526/0.01014, allocations: 0.5934 MB / 281 MB, free: 9.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.01022, allocations: 203.8 kB / 281.2 MB, free: 9.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.01035, allocations: 238.6 kB / 281.4 MB, free: 9.062 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.01037, allocations: 37.7 kB / 281.5 MB, free: 9.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.01044, allocations: 179.6 kB / 281.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.0105, allocations: 87.38 kB / 281.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.01057, allocations: 79.61 kB / 281.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.01069, allocations: 0.504 MB / 282.3 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.01079, allocations: 141.8 kB / 282.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.01094, allocations: 257.7 kB / 282.7 MB, free: 7.684 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.01115, allocations: 322.4 kB / 283 MB, free: 7.312 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01115, allocations: 0 / 283 MB, free: 7.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003413/0.01149, allocations: 450.4 kB / 283.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.01154, allocations: 95.59 kB / 283.6 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01155, allocations: 8.125 kB / 283.6 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.01156, allocations: 3.984 kB / 283.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.0117, allocations: 47.92 kB / 283.6 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.0117, allocations: 0 / 283.6 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.852e-05/0.01179, allocations: 39.77 kB / 283.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.01181, allocations: 12 kB / 283.7 MB, free: 6.613 MB / 266.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.0001485/0.01195, allocations: 274.4 kB / 283.9 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.01199, allocations: 31.91 kB / 284 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.01203, allocations: 26.64 kB / 284 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01203, allocations: 0 / 284 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01203, allocations: 0 / 284 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.01204, allocations: 7.938 kB / 284 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/0.01275, allocations: 0.851 MB / 284.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01275, allocations: 32 / 284.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.01281, allocations: 23.98 kB / 284.9 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01282, allocations: 7.922 kB / 284.9 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.01284, allocations: 15.92 kB / 284.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.01285, allocations: 7.938 kB / 284.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01285, allocations: 0 / 284.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.01331, allocations: 0.6427 MB / 285.5 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.01333, allocations: 23.73 kB / 285.6 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.01337, allocations: 19.98 kB / 285.6 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.01348, allocations: 20 kB / 285.6 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.01354, allocations: 19.95 kB / 285.6 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.01356, allocations: 12 kB / 285.6 MB, free: 4.492 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.022e-05/0.01363, allocations: 168.2 kB / 285.8 MB, free: 4.328 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01363, allocations: 0 / 285.8 MB, free: 4.328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.01384, allocations: 67.95 kB / 285.9 MB, free: 4.262 MB / 266.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.0001181/0.01396, allocations: 137.1 kB / 286 MB, free: 4.117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003971/0.01436, allocations: 0.5522 MB / 286.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01436, allocations: 0 / 286.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.01456, allocations: 330.5 kB / 286.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.01496, allocations: 148.6 kB / 287 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008944/0.01586, allocations: 0.5682 MB / 287.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.051e-05/0.01591, allocations: 80.83 kB / 287.7 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.3e-05/0.016, allocations: 53.88 kB / 287.7 MB, free: 2.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.01605, allocations: 20.5 kB / 287.7 MB, free: 2.219 MB / 266.7 MB Notification: Performance of SimCode: time 1.342e-06/0.01605, allocations: 0 / 287.7 MB, free: 2.219 MB / 266.7 MB Notification: Performance of Templates: time 0.005936/0.02199, allocations: 4.521 MB / 292.3 MB, free: 13.79 MB / 282.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 -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.9049114850349724]