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.001518/0.001518, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001667/0.001667, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.00149/0.00149, allocations: 59.89 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2261, allocations: 53.36 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003706/0.2298, allocations: 2.404 MB / 434.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2312, allocations: 0.7556 MB / 435.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.2313, allocations: 7.938 kB / 435.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.2314, allocations: 23.72 kB / 435.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.2315, allocations: 63.42 kB / 435.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.2319, allocations: 103.8 kB / 435.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.2322, allocations: 263 kB / 436 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.2324, allocations: 84.34 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.2327, allocations: 127.6 kB / 436.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.2329, allocations: 107.6 kB / 436.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.2329, allocations: 24 kB / 436.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.29e-05/0.233, allocations: 24 kB / 436.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.233, allocations: 59.72 kB / 436.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2332, allocations: 127.4 kB / 436.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.2335, allocations: 280.1 kB / 436.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2335, allocations: 3.938 kB / 436.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2335, allocations: 0 / 436.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.2335, allocations: 4 kB / 436.8 MB, free: 2.465 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.001032/0.2346, allocations: 0.6001 MB / 437.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2346, allocations: 15.97 kB / 437.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.2348, allocations: 36.75 kB / 437.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.2351, allocations: 190.2 kB / 437.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.2352, allocations: 79.75 kB / 437.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.2352, allocations: 16.38 kB / 437.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.2358, allocations: 260.3 kB / 438 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2358, allocations: 0 / 438 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.2358, allocations: 4 kB / 438 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2358, allocations: 4 kB / 438 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.2363, allocations: 208.2 kB / 438.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.2376, allocations: 0.7282 MB / 439 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.2382, allocations: 255.3 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.2386, allocations: 185 kB / 439.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2386, allocations: 4 kB / 439.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005168/0.2392, allocations: 316.3 kB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.342e-06/0.2392, allocations: 4 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001157/0.2403, allocations: 0.5774 MB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.2405, allocations: 203.9 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.2406, allocations: 182.7 kB / 440.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.2407, allocations: 37.7 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2408, allocations: 136.8 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.847e-05/0.2409, allocations: 91.3 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.241, allocations: 66.02 kB / 441 MB, free: 14.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2411, allocations: 334.8 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.2414, allocations: 116.6 kB / 441.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.2416, allocations: 167.1 kB / 441.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.2422, allocations: 413.4 kB / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2422, allocations: 0 / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007009/0.2429, allocations: 447.6 kB / 442.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/0.243, allocations: 97.09 kB / 442.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.243, allocations: 7.938 kB / 442.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.243, allocations: 0 / 442.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.2432, allocations: 35.92 kB / 442.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2432, allocations: 11.92 kB / 442.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.2434, allocations: 39.92 kB / 442.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.2434, allocations: 12 kB / 442.6 MB, free: 12.26 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.0002304/0.2436, allocations: 243.7 kB / 442.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.2437, allocations: 27.86 kB / 442.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.2437, allocations: 26.58 kB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2437, allocations: 0 / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2437, allocations: 0 / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2437, allocations: 4 kB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.2451, allocations: 0.9074 MB / 443.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2451, allocations: 4.031 kB / 443.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.2452, allocations: 23.92 kB / 443.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2452, allocations: 192 / 443.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.2452, allocations: 11.98 kB / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.2452, allocations: 7.938 kB / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2453, allocations: 0 / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009415/0.2462, allocations: 0.6222 MB / 444.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.2462, allocations: 27.78 kB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.2463, allocations: 12 kB / 444.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2465, allocations: 23.98 kB / 444.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.2466, allocations: 31.89 kB / 444.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.2466, allocations: 12 kB / 444.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.2467, allocations: 135.2 kB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2467, allocations: 0 / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000316/0.247, allocations: 72 kB / 444.8 MB, free: 9.965 MB / 350.1 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.0001429/0.2472, allocations: 129.3 kB / 444.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000813/0.248, allocations: 0.5202 MB / 445.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.248, allocations: 0 / 445.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.2484, allocations: 321.3 kB / 445.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.2491, allocations: 147.2 kB / 445.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000975/0.25, allocations: 0.5621 MB / 446.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.2504, allocations: 0.7444 MB / 447.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.2505, allocations: 27.42 kB / 447.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2505, allocations: 0 / 447.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of Templates: time 0.005138/0.2556, allocations: 3.158 MB / 450.4 MB, free: 4.277 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: 6.709407382877544]