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.001885/0.001885, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.002234/0.002234, allocations: 215 kB / 24.49 MB, free: 3.934 MB / 14.72 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002107/0.002107, allocations: 55.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2267, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003732/0.2305, allocations: 2.272 MB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2318, allocations: 0.705 MB / 435.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2319, allocations: 0 / 435.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.232, allocations: 35.64 kB / 435.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.2321, allocations: 63.48 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.2325, allocations: 99.77 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.2328, allocations: 270.9 kB / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.233, allocations: 80.02 kB / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.2333, allocations: 127.6 kB / 436 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.2334, allocations: 115.5 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.2335, allocations: 24 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.138e-05/0.2336, allocations: 28 kB / 436.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.2336, allocations: 55.78 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.2338, allocations: 99.58 kB / 436.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.2341, allocations: 289.8 kB / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2341, allocations: 0 / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2341, allocations: 3.938 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.2341, allocations: 0 / 436.6 MB, free: 2.457 MB / 334.1 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.001056/0.2352, allocations: 0.5983 MB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2352, allocations: 8.031 kB / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.2354, allocations: 40.73 kB / 437.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.2357, allocations: 182.2 kB / 437.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.2358, allocations: 83.73 kB / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.2358, allocations: 16.38 kB / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006782/0.2365, allocations: 357.3 kB / 437.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2365, allocations: 0 / 437.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.2366, allocations: 15.98 kB / 437.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2366, allocations: 4 kB / 437.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005852/0.2372, allocations: 267.7 kB / 438.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.2385, allocations: 0.6429 MB / 438.8 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.2392, allocations: 330.6 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.2396, allocations: 256.4 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2397, allocations: 0 / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000629/0.2403, allocations: 417.4 kB / 439.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.2403, allocations: 0 / 439.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001382/0.2417, allocations: 0.7313 MB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.2418, allocations: 199.9 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.242, allocations: 186.4 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.242, allocations: 37.7 kB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2421, allocations: 144.8 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.2422, allocations: 79.38 kB / 441.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.2423, allocations: 70.02 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2425, allocations: 330.8 kB / 441.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.2428, allocations: 201.7 kB / 441.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.2432, allocations: 301.9 kB / 442 MB, free: 12.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/0.2438, allocations: 424.4 kB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2438, allocations: 0 / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008211/0.2446, allocations: 0.5267 MB / 443 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/0.2447, allocations: 97.09 kB / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2447, allocations: 3.938 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2447, allocations: 4.094 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.2449, allocations: 51.84 kB / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.2449, allocations: 0 / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.2451, allocations: 35.83 kB / 443.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.2451, allocations: 8 kB / 443.1 MB, free: 11.34 MB / 350.1 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.0002441/0.2454, allocations: 255.8 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.2454, allocations: 27.86 kB / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.2455, allocations: 26.59 kB / 443.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.2455, allocations: 3.938 kB / 443.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2455, allocations: 3.984 kB / 443.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.2455, allocations: 23.8 kB / 443.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.2456, allocations: 12 kB / 443.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.2458, allocations: 23.97 kB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.2459, allocations: 19.97 kB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001241/0.2471, allocations: 0.7716 MB / 444.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001096/0.2482, allocations: 0.7444 MB / 445.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004185/0.2486, allocations: 236.4 kB / 445.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.2487, allocations: 127.2 kB / 445.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of Backend: time 3.81e-07/0.2487, allocations: 0 / 445.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008917/0.2496, allocations: 0.5171 MB / 445.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of SimCode: time 0.001038/0.2506, allocations: 0.9742 MB / 446.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of Templates: time 0.008085/0.2587, allocations: 3.989 MB / 450.9 MB, free: 3.402 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.37027891100297]