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.001182/0.001182, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001434/0.001434, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.783e-06/1.783e-06, allocations: 0 / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.163e-05, allocations: 2.312 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002506/0.002528, allocations: 2.376 MB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.003536, allocations: 0.7126 MB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.594e-05/0.003632, allocations: 11.88 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.003767, allocations: 23.72 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.994e-05/0.003857, allocations: 67.42 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.004196, allocations: 103.7 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.004434, allocations: 270.9 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.0046, allocations: 75.61 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.004848, allocations: 175.6 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.004978, allocations: 87.77 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.005014, allocations: 24 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.005068, allocations: 28 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.005118, allocations: 51.83 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/0.005192, allocations: 91.73 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.005431, allocations: 211.2 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.005433, allocations: 0 / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005434, allocations: 0 / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005437, allocations: 0 / 277.7 MB, free: 12.95 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.0006748/0.006112, allocations: 0.6962 MB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.006148, allocations: 12.03 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.006276, allocations: 56.73 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.006461, allocations: 184.2 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.006521, allocations: 75.95 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.006543, allocations: 20.38 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.006831, allocations: 274.8 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.00684, allocations: 4.188 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.006858, allocations: 12.12 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006865, allocations: 4 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.006998, allocations: 144.8 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006931/0.007691, allocations: 0.6548 MB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.007888, allocations: 207.2 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.008038, allocations: 174.4 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.008055, allocations: 11.92 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.008278, allocations: 344.7 kB / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.212e-06/0.008279, allocations: 0 / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004348/0.008714, allocations: 0.5153 MB / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.00879, allocations: 203.8 kB / 281.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.008934, allocations: 238.5 kB / 281.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.008957, allocations: 33.7 kB / 281.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.009049, allocations: 187.6 kB / 281.7 MB, free: 8.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.0091, allocations: 87.28 kB / 281.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.009175, allocations: 75.64 kB / 281.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.009302, allocations: 0.5157 MB / 282.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/0.009375, allocations: 117.8 kB / 282.5 MB, free: 7.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.009492, allocations: 245.6 kB / 282.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.009665, allocations: 294.5 kB / 283 MB, free: 7.094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009667, allocations: 0 / 283 MB, free: 7.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002848/0.009952, allocations: 417 kB / 283.4 MB, free: 6.648 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.009999, allocations: 95.56 kB / 283.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01, allocations: 4 kB / 283.5 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.01002, allocations: 7.984 kB / 283.5 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.01013, allocations: 43.92 kB / 283.6 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01014, allocations: 4 kB / 283.6 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.32e-05/0.01022, allocations: 35.77 kB / 283.6 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01023, allocations: 15.94 kB / 283.6 MB, free: 6.43 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.0001422/0.01037, allocations: 270.4 kB / 283.9 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.01041, allocations: 35.91 kB / 283.9 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.01044, allocations: 26.64 kB / 284 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01045, allocations: 0 / 284 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01045, allocations: 0 / 284 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01045, allocations: 4 kB / 284 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.01106, allocations: 0.7734 MB / 284.7 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01106, allocations: 7.969 kB / 284.7 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.01112, allocations: 27.92 kB / 284.8 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01112, allocations: 0 / 284.8 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.01114, allocations: 11.98 kB / 284.8 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01114, allocations: 0 / 284.8 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01114, allocations: 4 kB / 284.8 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.01152, allocations: 0.5996 MB / 285.4 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.01154, allocations: 23.8 kB / 285.4 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.01157, allocations: 19.92 kB / 285.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.01167, allocations: 23.98 kB / 285.4 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.01172, allocations: 19.97 kB / 285.5 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.01173, allocations: 15.98 kB / 285.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.367e-05/0.0118, allocations: 152.2 kB / 285.6 MB, free: 4.289 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0118, allocations: 0 / 285.6 MB, free: 4.289 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.01201, allocations: 79.89 kB / 285.7 MB, free: 4.211 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 9.997e-05/0.01211, allocations: 125.2 kB / 285.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.01244, allocations: 0.5092 MB / 286.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01244, allocations: 3.938 kB / 286.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.01261, allocations: 294.5 kB / 286.6 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.013, allocations: 144.9 kB / 286.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.01379, allocations: 0.5447 MB / 287.3 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.01384, allocations: 84.83 kB / 287.4 MB, free: 2.344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.76e-05/0.01391, allocations: 29.92 kB / 287.4 MB, free: 2.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.0141, allocations: 154.1 kB / 287.6 MB, free: 2.164 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0141, allocations: 0 / 287.6 MB, free: 2.164 MB / 266.7 MB Notification: Performance of Templates: time 0.005897/0.02, allocations: 4.844 MB / 292.4 MB, free: 13.43 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.7552153668366373]