Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9885/0.9885, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.648e-05, allocations: 2.312 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003494/0.00352, allocations: 2.406 MB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.004614, allocations: 0.7204 MB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.00471, allocations: 7.938 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.00484, allocations: 35.64 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.283e-05/0.004933, allocations: 59.44 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.005285, allocations: 99.69 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.005555, allocations: 274.9 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.005726, allocations: 79.52 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.006013, allocations: 175.6 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.006151, allocations: 95.7 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.006184, allocations: 24 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.202e-05/0.006236, allocations: 24 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.006286, allocations: 51.83 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.649e-05/0.006372, allocations: 91.73 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.006627, allocations: 203.3 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.006631, allocations: 7.938 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006632, allocations: 0 / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.006637, allocations: 0 / 277.3 MB, free: 13.09 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.0007481/0.007385, allocations: 0.6884 MB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.007422, allocations: 11.98 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.007581, allocations: 60.73 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.007801, allocations: 184.3 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.007881, allocations: 71.97 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.007908, allocations: 20.38 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.008278, allocations: 318.8 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.008286, allocations: 192 / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.008304, allocations: 12.12 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.008312, allocations: 4 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.008492, allocations: 180.3 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008129/0.009305, allocations: 0.6855 MB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.00959, allocations: 244 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.009804, allocations: 207.1 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.009824, allocations: 8 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.01011, allocations: 372.8 kB / 280.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.253e-06/0.01011, allocations: 0 / 280.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005571/0.01067, allocations: 0.5973 MB / 280.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.01075, allocations: 203.8 kB / 281.1 MB, free: 8.906 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.01088, allocations: 238.6 kB / 281.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.01091, allocations: 33.7 kB / 281.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.01098, allocations: 187.6 kB / 281.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.01103, allocations: 87.38 kB / 281.6 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.01111, allocations: 75.67 kB / 281.7 MB, free: 8.258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.01123, allocations: 0.5001 MB / 282.2 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.01134, allocations: 141.8 kB / 282.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.01149, allocations: 265.6 kB / 282.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.01172, allocations: 321.8 kB / 282.9 MB, free: 6.906 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.01172, allocations: 0 / 282.9 MB, free: 6.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003517/0.01207, allocations: 447.5 kB / 283.3 MB, free: 6.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/0.01213, allocations: 97.03 kB / 283.4 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01213, allocations: 4 kB / 283.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.01215, allocations: 0 / 283.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.01229, allocations: 51.91 kB / 283.5 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01229, allocations: 0 / 283.5 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.494e-05/0.01239, allocations: 39.77 kB / 283.5 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.0124, allocations: 8 kB / 283.5 MB, free: 6.211 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.0001501/0.01255, allocations: 274.5 kB / 283.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.01259, allocations: 35.91 kB / 283.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.01263, allocations: 22.64 kB / 283.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.01263, allocations: 0 / 283.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.01263, allocations: 0 / 283.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.01264, allocations: 7.938 kB / 283.9 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007432/0.01338, allocations: 0.851 MB / 284.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01339, allocations: 0 / 284.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.01345, allocations: 31.92 kB / 284.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01346, allocations: 0 / 284.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.01348, allocations: 11.98 kB / 284.8 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01348, allocations: 7.938 kB / 284.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01348, allocations: 3.984 kB / 284.8 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.01394, allocations: 0.6387 MB / 285.4 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.01396, allocations: 35.69 kB / 285.4 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.014, allocations: 20 kB / 285.5 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.0141, allocations: 15.98 kB / 285.5 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.01417, allocations: 19.97 kB / 285.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.01418, allocations: 11.98 kB / 285.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.452e-05/0.01426, allocations: 164.2 kB / 285.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01426, allocations: 0 / 285.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.0145, allocations: 71.95 kB / 285.7 MB, free: 3.855 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.0001281/0.01462, allocations: 137.1 kB / 285.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004188/0.01504, allocations: 0.549 MB / 286.4 MB, free: 3.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01505, allocations: 0 / 286.4 MB, free: 3.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.01526, allocations: 333.8 kB / 286.8 MB, free: 2.727 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.01569, allocations: 166.1 kB / 286.9 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009342/0.01663, allocations: 0.5642 MB / 287.5 MB, free: 1.969 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.196e-05/0.01668, allocations: 84.83 kB / 287.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.601e-05/0.01677, allocations: 41.91 kB / 287.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.01682, allocations: 20.5 kB / 287.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01682, allocations: 0 / 287.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of Templates: time 0.006281/0.0231, allocations: 4.511 MB / 292.1 MB, free: 13.37 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.865498933941126]