Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 79.91 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9785/0.9785, allocations: 173.3 MB / 201.1 MB, free: 9.008 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 268 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.349e-05, allocations: 2.312 kB / 268 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002724/0.002747, allocations: 2.372 MB / 270.4 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009197/0.003667, allocations: 0.6542 MB / 271 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.778e-05/0.003755, allocations: 7.938 kB / 271 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.003893, allocations: 31.66 kB / 271.1 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.906e-05/0.003972, allocations: 59.48 kB / 271.1 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.004272, allocations: 95.64 kB / 271.2 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.004511, allocations: 270.9 kB / 271.5 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.004686, allocations: 83.62 kB / 271.6 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.004875, allocations: 159.7 kB / 271.7 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.005029, allocations: 91.7 kB / 271.8 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.005069, allocations: 24 kB / 271.8 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.989e-05/0.005099, allocations: 20 kB / 271.8 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.005176, allocations: 55.81 kB / 271.9 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.994e-05/0.005266, allocations: 83.81 kB / 272 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.005508, allocations: 207.3 kB / 272.2 MB, free: 2.078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.00551, allocations: 0 / 272.2 MB, free: 2.078 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005511, allocations: 0 / 272.2 MB, free: 2.078 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005515, allocations: 0 / 272.2 MB, free: 2.078 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.0007712/0.006286, allocations: 0.6922 MB / 272.9 MB, free: 1.328 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.006327, allocations: 8.922 kB / 272.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.006405, allocations: 44.8 kB / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.006623, allocations: 188.8 kB / 273.1 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.689e-05/0.0067, allocations: 79.95 kB / 273.2 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.006727, allocations: 16.38 kB / 273.2 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.007225, allocations: 318.7 kB / 273.5 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.007233, allocations: 192 / 273.5 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.007254, allocations: 12.12 kB / 273.5 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.007263, allocations: 4 kB / 273.5 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.007455, allocations: 188.3 kB / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.00825, allocations: 0.6585 MB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.008514, allocations: 262 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.008711, allocations: 199.2 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.008729, allocations: 4 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.00907, allocations: 380.9 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.009072, allocations: 0 / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007198/0.009791, allocations: 0.5972 MB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.356e-05/0.009885, allocations: 199.9 kB / 276 MB, free: 13.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.01001, allocations: 237.8 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.01003, allocations: 37.69 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.01011, allocations: 183.6 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.01015, allocations: 79.41 kB / 276.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.01023, allocations: 79.62 kB / 276.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.01036, allocations: 0.5079 MB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.01046, allocations: 141.7 kB / 277.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.0106, allocations: 253.7 kB / 277.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.01083, allocations: 325.5 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01083, allocations: 0 / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003392/0.01117, allocations: 443.4 kB / 278.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.01122, allocations: 93.09 kB / 278.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01123, allocations: 7.938 kB / 278.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.01124, allocations: 4 kB / 278.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01138, allocations: 47.91 kB / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.01139, allocations: 8.094 kB / 278.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.763e-05/0.01148, allocations: 43.64 kB / 278.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.01149, allocations: 8 kB / 278.5 MB, free: 11.2 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.0001968/0.01169, allocations: 262.5 kB / 278.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.01173, allocations: 39.86 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.01177, allocations: 26.64 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01177, allocations: 8 kB / 278.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01178, allocations: 0 / 278.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.01179, allocations: 7.938 kB / 278.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.01248, allocations: 0.8501 MB / 279.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01248, allocations: 0 / 279.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.01254, allocations: 23.98 kB / 279.7 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01254, allocations: 0 / 279.7 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.01256, allocations: 8 kB / 279.7 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01257, allocations: 11.97 kB / 279.7 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01257, allocations: 0 / 279.7 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.013, allocations: 0.6395 MB / 280.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.01303, allocations: 35.72 kB / 280.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.01306, allocations: 15.94 kB / 280.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.01316, allocations: 15.98 kB / 280.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.01322, allocations: 19.97 kB / 280.4 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.01324, allocations: 15.98 kB / 280.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.461e-05/0.0133, allocations: 164.2 kB / 280.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0133, allocations: 0 / 280.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.01351, allocations: 79.89 kB / 280.7 MB, free: 8.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 9.766e-05/0.01361, allocations: 129.2 kB / 280.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004057/0.01402, allocations: 0.549 MB / 281.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01402, allocations: 192 / 281.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.01421, allocations: 337.7 kB / 281.7 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.01461, allocations: 149.5 kB / 281.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.01546, allocations: 0.5572 MB / 282.4 MB, free: 6.988 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.769e-05/0.0155, allocations: 84.81 kB / 282.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.981e-05/0.01558, allocations: 41.89 kB / 282.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.01563, allocations: 32.5 kB / 282.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01563, allocations: 0 / 282.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of Templates: time 0.005749/0.02138, allocations: 4.531 MB / 287.1 MB, free: 2.375 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.0519460048526525]