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.001115/0.001115, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001196/0.001196, allocations: 161.9 kB / 24.99 MB, free: 8.336 MB / 18.57 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 0.9875/0.9875, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.952e-05, allocations: 2.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002342/0.002361, allocations: 2.096 MB / 275.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007843/0.003145, allocations: 0.561 MB / 275.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.196e-05/0.003237, allocations: 0 / 275.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.00336, allocations: 15.8 kB / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.003438, allocations: 47.62 kB / 275.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.003685, allocations: 67.83 kB / 275.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.003893, allocations: 211.3 kB / 276.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.004008, allocations: 33.22 kB / 276.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.004143, allocations: 127.7 kB / 276.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.004305, allocations: 67.83 kB / 276.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.004335, allocations: 20 kB / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.583e-05/0.004381, allocations: 20 kB / 276.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/0.004412, allocations: 31.89 kB / 276.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.004472, allocations: 63.83 kB / 276.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.004684, allocations: 143.6 kB / 276.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004686, allocations: 0 / 276.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004687, allocations: 0 / 276.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.004691, allocations: 0 / 276.6 MB, free: 14.32 MB / 266.7 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.0005695/0.005261, allocations: 0.5017 MB / 277.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.005295, allocations: 8.031 kB / 277.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.005425, allocations: 32.84 kB / 277.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.005629, allocations: 171.5 kB / 277.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/0.005716, allocations: 141.1 kB / 277.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.005737, allocations: 16.38 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.005941, allocations: 192.8 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.005949, allocations: 192 / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.005964, allocations: 12.12 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.005973, allocations: 0 / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.006084, allocations: 59.16 kB / 277.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.00667, allocations: 470.4 kB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.006892, allocations: 91.22 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.006944, allocations: 27.67 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.006969, allocations: 8 kB / 278.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.006998, allocations: 37.33 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.013e-06/0.007, allocations: 7.984 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004287/0.007429, allocations: 153.2 kB / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.007456, allocations: 55.34 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.00757, allocations: 204.8 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.00759, allocations: 33.7 kB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.007658, allocations: 162.7 kB / 278.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.007678, allocations: 27.78 kB / 278.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.007729, allocations: 47.31 kB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.007845, allocations: 0.4923 MB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.007921, allocations: 53.69 kB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.007997, allocations: 84.73 kB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.008099, allocations: 100.7 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008102, allocations: 0 / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002818/0.008383, allocations: 248.4 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.008409, allocations: 33.7 kB / 280 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.008414, allocations: 3.984 kB / 280 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.008585, allocations: 63.66 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.245e-05/0.008628, allocations: 15.98 kB / 280.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.009798, allocations: 1.873 MB / 281.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.009917, allocations: 27.92 kB / 282 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.009931, allocations: 11.94 kB / 282 MB, free: 8.457 MB / 266.7 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 9.092e-05/0.01002, allocations: 176.6 kB / 282.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.01005, allocations: 11.91 kB / 282.1 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.01021, allocations: 118.1 kB / 282.3 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01021, allocations: 4 kB / 282.3 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.01021, allocations: 192 / 282.3 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01021, allocations: 0 / 282.3 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.01034, allocations: 160.5 kB / 282.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01034, allocations: 0 / 282.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.01037, allocations: 11.94 kB / 282.4 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.01048, allocations: 67.64 kB / 282.5 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.01049, allocations: 0 / 282.5 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009213/0.01141, allocations: 1.889 MB / 284.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01141, allocations: 192 / 284.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.0116, allocations: 264 kB / 284.6 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.01161, allocations: 15.91 kB / 284.7 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.01163, allocations: 4 kB / 284.7 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.01172, allocations: 11.92 kB / 284.7 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.01177, allocations: 11.98 kB / 284.7 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.01178, allocations: 7.938 kB / 284.7 MB, free: 5.508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.071e-05/0.01185, allocations: 151.2 kB / 284.8 MB, free: 5.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01185, allocations: 0 / 284.8 MB, free: 5.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002779/0.01213, allocations: 44 kB / 284.9 MB, free: 5.316 MB / 266.7 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 8.909e-05/0.01222, allocations: 99.25 kB / 285 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.01262, allocations: 345.6 kB / 285.3 MB, free: 4.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01263, allocations: 0 / 285.3 MB, free: 4.832 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.01278, allocations: 217.4 kB / 285.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.01306, allocations: 26.64 kB / 285.6 MB, free: 4.574 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.01368, allocations: 266.7 kB / 285.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.501e-05/0.01372, allocations: 67.78 kB / 285.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.01376, allocations: 8.484 kB / 285.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.0138, allocations: 12.5 kB / 285.9 MB, free: 4.18 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0138, allocations: 4 kB / 285.9 MB, free: 4.176 MB / 266.7 MB Notification: Performance of Templates: time 0.005258/0.01905, allocations: 3.135 MB / 289 MB, free: 1.082 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.776918652933091]