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.001328/0.001328, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001554/0.001554, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.519/1.519, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.001581/0.001581, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2285, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003362/0.2318, allocations: 1.996 MB / 434.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2329, allocations: 0.5416 MB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.972e-05/0.233, allocations: 0 / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.2331, allocations: 19.8 kB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.664e-05/0.2332, allocations: 39.69 kB / 434.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.2334, allocations: 67.86 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.2337, allocations: 215.3 kB / 435.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2338, allocations: 33.25 kB / 435.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2339, allocations: 87.7 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.2341, allocations: 95.64 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.2342, allocations: 20 kB / 435.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-05/0.2342, allocations: 24 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.2343, allocations: 27.91 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.084e-05/0.2343, allocations: 75.7 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2346, allocations: 183.1 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2346, allocations: 0 / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2346, allocations: 0 / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.2346, allocations: 4 kB / 435.8 MB, free: 3.277 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.000766/0.2354, allocations: 411.4 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2354, allocations: 12.03 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.2355, allocations: 28.83 kB / 436.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.2358, allocations: 150.3 kB / 436.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.236, allocations: 149.1 kB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.236, allocations: 12.38 kB / 436.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.2364, allocations: 202.9 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2364, allocations: 4 kB / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.2364, allocations: 4 kB / 436.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2364, allocations: 4 kB / 436.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.2367, allocations: 115.7 kB / 436.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.2376, allocations: 423 kB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.2379, allocations: 102.7 kB / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.2381, allocations: 52.75 kB / 437.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2381, allocations: 4 kB / 437.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.2381, allocations: 34.56 kB / 437.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.2381, allocations: 0 / 437.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008601/0.239, allocations: 226.3 kB / 437.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.239, allocations: 55.41 kB / 437.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2392, allocations: 141.8 kB / 437.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.2392, allocations: 29.7 kB / 437.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.2393, allocations: 116 kB / 438 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.2393, allocations: 35.72 kB / 438 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.2394, allocations: 33.7 kB / 438.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2396, allocations: 322.8 kB / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.2398, allocations: 89.67 kB / 438.5 MB, free: 352 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.24, allocations: 112.2 kB / 438.6 MB, free: 224 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.2403, allocations: 148.2 kB / 438.7 MB, free: 60 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2403, allocations: 0 / 438.7 MB, free: 60 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007031/0.241, allocations: 301.5 kB / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.241, allocations: 33.7 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2411, allocations: 4 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.2413, allocations: 68.81 kB / 439.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2414, allocations: 15.98 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.2432, allocations: 1.498 MB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.2436, allocations: 44.48 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.2436, allocations: 8 kB / 440.7 MB, free: 13.96 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.0001204/0.2437, allocations: 117.8 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.2438, allocations: 15.91 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.2442, allocations: 171.1 kB / 441 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2442, allocations: 0 / 441 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2442, allocations: 3.938 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2442, allocations: 4 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.2444, allocations: 149.2 kB / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2444, allocations: 0 / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.2445, allocations: 12.12 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.2447, allocations: 72.81 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2447, allocations: 4 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.2463, allocations: 1.483 MB / 442.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2463, allocations: 0 / 442.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.2467, allocations: 244.3 kB / 442.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.2467, allocations: 11.89 kB / 442.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.2468, allocations: 7.938 kB / 443 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.2469, allocations: 20.05 kB / 443 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.247, allocations: 15.97 kB / 443 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.247, allocations: 192 / 443 MB, free: 11.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.857e-05/0.2471, allocations: 106.3 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2471, allocations: 0 / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.2474, allocations: 55.89 kB / 443.1 MB, free: 11.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001175/0.2475, allocations: 99.25 kB / 443.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006764/0.2482, allocations: 339.6 kB / 443.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2482, allocations: 0 / 443.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.2485, allocations: 171 kB / 443.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.2488, allocations: 28.05 kB / 443.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.2494, allocations: 283 kB / 444 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.02e-05/0.2495, allocations: 89.62 kB / 444.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.039e-05/0.2495, allocations: 8.484 kB / 444.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.2496, allocations: 15.44 kB / 444.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2496, allocations: 3.938 kB / 444.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Templates: time 0.006885/0.2565, allocations: 3.195 MB / 447.4 MB, free: 7.059 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 -s gbode -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.533841784010292]