Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.001298/0.001298, allocations: 102.8 kB / 21.19 MB, free: 0.6367 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.001372/0.001372, allocations: 222.8 kB / 24.5 MB, free: 3.922 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2216, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003253/0.2249, allocations: 1.996 MB / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.2258, allocations: 0.5416 MB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.2259, allocations: 7.938 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.226, allocations: 23.78 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.383e-05/0.2261, allocations: 35.7 kB / 435 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.2264, allocations: 75.84 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.2266, allocations: 211.3 kB / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2268, allocations: 37.23 kB / 435.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.2269, allocations: 75.83 kB / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.2271, allocations: 91.59 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.2271, allocations: 20 kB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.2272, allocations: 24 kB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.2272, allocations: 31.91 kB / 435.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.2273, allocations: 75.69 kB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.2275, allocations: 187.1 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2275, allocations: 0 / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2275, allocations: 0 / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2276, allocations: 0 / 435.8 MB, free: 3.281 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007526/0.2283, allocations: 415.4 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2283, allocations: 15.97 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.2285, allocations: 20.84 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.2287, allocations: 160.3 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.2289, allocations: 145.1 kB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.2289, allocations: 16.38 kB / 436.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.2293, allocations: 202.9 kB / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2293, allocations: 0 / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2293, allocations: 4 kB / 436.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2293, allocations: 0 / 436.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.2296, allocations: 125.3 kB / 436.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008164/0.2304, allocations: 419.1 kB / 437.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.2308, allocations: 98.72 kB / 437.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.2309, allocations: 52.83 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.2309, allocations: 0 / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.231, allocations: 42.5 kB / 437.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.231, allocations: 0 / 437.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008772/0.2319, allocations: 222.3 kB / 437.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.2319, allocations: 51.41 kB / 437.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.232, allocations: 149.8 kB / 437.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2321, allocations: 25.7 kB / 437.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.2321, allocations: 116 kB / 438 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.2322, allocations: 27.75 kB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.2323, allocations: 33.7 kB / 438.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2324, allocations: 326.8 kB / 438.4 MB, free: 456 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.2326, allocations: 89.67 kB / 438.5 MB, free: 360 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.2328, allocations: 108.2 kB / 438.6 MB, free: 236 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.2331, allocations: 152.1 kB / 438.7 MB, free: 68 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2331, allocations: 0 / 438.7 MB, free: 68 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006821/0.2338, allocations: 289.6 kB / 439 MB, free: 15.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.2339, allocations: 37.7 kB / 439 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2339, allocations: 8.047 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.2341, allocations: 72.75 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.2342, allocations: 16.45 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.2359, allocations: 1.495 MB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.2363, allocations: 39.98 kB / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2363, allocations: 8.062 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.2364, allocations: 128.7 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2365, allocations: 11.91 kB / 440.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.2369, allocations: 167.1 kB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2369, allocations: 0 / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2369, allocations: 0 / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.2369, allocations: 15.83 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.2369, allocations: 0 / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.2371, allocations: 15.98 kB / 441 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.2371, allocations: 15.97 kB / 441 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005124/0.2377, allocations: 233.9 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005376/0.2382, allocations: 354.5 kB / 441.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001356/0.2383, allocations: 51.95 kB / 441.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.703e-05/0.2384, allocations: 107.5 kB / 441.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Backend: time 1.71e-07/0.2384, allocations: 0 / 441.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008189/0.2392, allocations: 374 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of SimCode: time 0.000732/0.24, allocations: 0.7447 MB / 442.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Templates: time 0.006741/0.2467, allocations: 3.139 MB / 446 MB, free: 8.566 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.357614713997464]