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.001027/0.001027, allocations: 78.19 kB / 21.42 MB, free: 3.078 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.001513/0.001513, allocations: 148.5 kB / 24.81 MB, free: 9.285 MB / 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 1.051/1.051, allocations: 173.3 MB / 201.4 MB, free: 9.203 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.553e-06/1.553e-06, allocations: 0 / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.955e-05, allocations: 6.25 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002644/0.002664, allocations: 2.357 MB / 270.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.003772, allocations: 0.6542 MB / 271.4 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.003881, allocations: 7.938 kB / 271.4 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.004023, allocations: 27.72 kB / 271.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.004115, allocations: 59.42 kB / 271.5 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.004435, allocations: 99.62 kB / 271.6 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.00468, allocations: 278.9 kB / 271.9 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.00486, allocations: 75.66 kB / 272 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005522/0.005412, allocations: 167.7 kB / 272.1 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.005536, allocations: 87.77 kB / 272.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.005571, allocations: 20 kB / 272.2 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.999e-05/0.005601, allocations: 24 kB / 272.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.005652, allocations: 55.81 kB / 272.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.734e-05/0.00574, allocations: 87.7 kB / 272.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.005956, allocations: 195.4 kB / 272.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005958, allocations: 3.938 kB / 272.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.005958, allocations: 4 kB / 272.6 MB, free: 1.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.005962, allocations: 4 kB / 272.6 MB, free: 1.965 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.0006752/0.006638, allocations: 0.6883 MB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.006676, allocations: 16.91 kB / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.00674, allocations: 40.8 kB / 273.3 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.006926, allocations: 180.9 kB / 273.5 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.006983, allocations: 75.97 kB / 273.6 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.007005, allocations: 20.38 kB / 273.6 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.007299, allocations: 274.7 kB / 273.9 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.007307, allocations: 192 / 273.9 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.007324, allocations: 12.12 kB / 273.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.00733, allocations: 4 kB / 273.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.007448, allocations: 144.8 kB / 274 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.008167, allocations: 0.6433 MB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.008375, allocations: 215.2 kB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.008561, allocations: 174.2 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.008577, allocations: 7.938 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.008814, allocations: 348.8 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.252e-06/0.008815, allocations: 0 / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004238/0.009239, allocations: 0.5114 MB / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.00931, allocations: 203.8 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.009422, allocations: 241.6 kB / 276.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.009445, allocations: 37.69 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.009518, allocations: 183.6 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.009568, allocations: 83.39 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.009654, allocations: 83.58 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.009781, allocations: 0.5001 MB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.009856, allocations: 129.8 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.009973, allocations: 229.7 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.01015, allocations: 306.5 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01015, allocations: 0 / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003024/0.01046, allocations: 406.8 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.01051, allocations: 97.09 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01052, allocations: 3.938 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01053, allocations: 4 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.01066, allocations: 47.91 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.01067, allocations: 4 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.549e-05/0.01075, allocations: 35.88 kB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.01076, allocations: 11.94 kB / 278.5 MB, free: 11.48 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.0001329/0.0109, allocations: 270.5 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.01093, allocations: 35.86 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.01096, allocations: 22.59 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01096, allocations: 4 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01097, allocations: 7.984 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01097, allocations: 0 / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008845/0.01186, allocations: 0.7735 MB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01186, allocations: 4 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.01192, allocations: 19.98 kB / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01192, allocations: 0 / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.01194, allocations: 8 kB / 279.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.01194, allocations: 7.938 kB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01194, allocations: 4.031 kB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.01232, allocations: 0.5965 MB / 280.2 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.01235, allocations: 27.78 kB / 280.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.01238, allocations: 15.94 kB / 280.3 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.01248, allocations: 19.98 kB / 280.3 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.01254, allocations: 23.95 kB / 280.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.01255, allocations: 4 kB / 280.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.227e-05/0.01261, allocations: 168.1 kB / 280.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01261, allocations: 4 kB / 280.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.01283, allocations: 71.89 kB / 280.6 MB, free: 9.273 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.0001042/0.01293, allocations: 137.1 kB / 280.7 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.01327, allocations: 0.4943 MB / 281.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01327, allocations: 0 / 281.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.01346, allocations: 297.9 kB / 281.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.01387, allocations: 157.9 kB / 281.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.01464, allocations: 0.5337 MB / 282.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.361e-05/0.01469, allocations: 80.83 kB / 282.2 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.485e-05/0.01478, allocations: 21.94 kB / 282.3 MB, free: 7.391 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.01498, allocations: 162.1 kB / 282.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01498, allocations: 4 kB / 282.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of Templates: time 0.006261/0.02124, allocations: 4.852 MB / 287.3 MB, free: 2.484 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: 2.816048467066139]