Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00127/0.00127, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001395/0.001395, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.84 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2165, allocations: 53.32 MB / 432.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.00376/0.2202, allocations: 2.408 MB / 434.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2215, allocations: 0.7517 MB / 435.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.2216, allocations: 4 kB / 435.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.2218, allocations: 31.66 kB / 435.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.2219, allocations: 59.48 kB / 435.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.2222, allocations: 99.75 kB / 435.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.2225, allocations: 271 kB / 435.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.2227, allocations: 78.98 kB / 435.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.223, allocations: 123.5 kB / 435.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.2232, allocations: 115.6 kB / 436 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.2232, allocations: 23.94 kB / 436 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.266e-05/0.2233, allocations: 24 kB / 436 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.2234, allocations: 51.84 kB / 436.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.2235, allocations: 123.4 kB / 436.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.2239, allocations: 292.7 kB / 436.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2239, allocations: 0 / 436.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2239, allocations: 4 kB / 436.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.2239, allocations: 4 kB / 436.5 MB, free: 2.957 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.001116/0.225, allocations: 0.6715 MB / 437.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.225, allocations: 8.031 kB / 437.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.2252, allocations: 44.73 kB / 437.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.2255, allocations: 248.5 kB / 437.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.686e-05/0.2256, allocations: 50.05 kB / 437.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.2257, allocations: 16.38 kB / 437.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.2262, allocations: 260.3 kB / 437.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2262, allocations: 0 / 437.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.2263, allocations: 8 kB / 437.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2263, allocations: 8 kB / 437.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.2268, allocations: 200.3 kB / 438 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.2282, allocations: 0.7642 MB / 438.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.2288, allocations: 259.2 kB / 439 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.2292, allocations: 193 kB / 439.2 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2292, allocations: 0 / 439.2 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005912/0.2298, allocations: 312.3 kB / 439.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.2298, allocations: 0 / 439.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001259/0.2311, allocations: 0.5788 MB / 440.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.2312, allocations: 203.9 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.2314, allocations: 184.2 kB / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.2315, allocations: 37.7 kB / 440.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2316, allocations: 128.9 kB / 440.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.2316, allocations: 95.3 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.2317, allocations: 62.03 kB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2319, allocations: 334.8 kB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.2322, allocations: 112.6 kB / 441.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.2325, allocations: 163.3 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.2331, allocations: 419.4 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2331, allocations: 3.938 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007599/0.2338, allocations: 438.3 kB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.994e-05/0.2339, allocations: 97.09 kB / 442.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2339, allocations: 0 / 442.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2339, allocations: 7.938 kB / 442.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.2341, allocations: 43.91 kB / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2341, allocations: 0 / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.2343, allocations: 39.92 kB / 442.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.2343, allocations: 8 kB / 442.4 MB, free: 12.61 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.0002542/0.2346, allocations: 243.8 kB / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.2347, allocations: 24.05 kB / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.2347, allocations: 30.59 kB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2347, allocations: 11.92 kB / 442.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2347, allocations: 0 / 442.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.2348, allocations: 100.9 kB / 442.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.2349, allocations: 15.98 kB / 442.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.235, allocations: 19.98 kB / 442.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.2351, allocations: 27.95 kB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001203/0.2363, allocations: 0.7441 MB / 443.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001045/0.2374, allocations: 0.6854 MB / 444.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003541/0.2377, allocations: 163.8 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.2378, allocations: 139.2 kB / 444.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Backend: time 3.4e-07/0.2378, allocations: 0 / 444.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008789/0.2387, allocations: 460.4 kB / 445 MB, free: 9.812 MB / 350.1 MB Notification: Performance of SimCode: time 0.001117/0.2398, allocations: 1.007 MB / 446.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of Templates: time 0.00761/0.2474, allocations: 3.593 MB / 449.6 MB, free: 5.176 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.192144573200494]