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.001497/0.001497, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00199/0.00199, allocations: 165 kB / 24.56 MB, free: 8 kB / 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.9511/0.9511, allocations: 177.1 MB / 205 MB, free: 5.613 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.262e-06/1.262e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.616e-05, allocations: 6.312 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002139/0.002155, allocations: 2.093 MB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.002943, allocations: 0.5648 MB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.003016, allocations: 0 / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.003116, allocations: 19.8 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/0.003195, allocations: 43.62 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.003435, allocations: 67.84 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.003636, allocations: 219.2 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003736, allocations: 29.23 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.003857, allocations: 127.7 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.004, allocations: 67.84 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.004028, allocations: 19.98 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.707e-05/0.004075, allocations: 20 kB / 276.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.004103, allocations: 27.91 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.004158, allocations: 67.81 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.004348, allocations: 139.6 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.00435, allocations: 0 / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.00435, allocations: 8 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004354, allocations: 0 / 276.5 MB, free: 14 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.0005062/0.00486, allocations: 0.4978 MB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.004891, allocations: 8.031 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.005001, allocations: 32.84 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.005172, allocations: 163.8 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.005253, allocations: 149.1 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.005272, allocations: 16.38 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.005453, allocations: 194.4 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.00546, allocations: 192 / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.005473, allocations: 4.125 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.005479, allocations: 4 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.005581, allocations: 55.89 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.006078, allocations: 474.3 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.006252, allocations: 95.22 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.006293, allocations: 31.67 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.006309, allocations: 0 / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.00633, allocations: 41.33 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.006331, allocations: 0 / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003644/0.006695, allocations: 153.2 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.00672, allocations: 59.34 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.006819, allocations: 205 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.006836, allocations: 33.7 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.006903, allocations: 166.6 kB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.006922, allocations: 27.78 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.00697, allocations: 43.31 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.007072, allocations: 0.4884 MB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.007141, allocations: 57.67 kB / 279.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.007216, allocations: 84.75 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.977e-05/0.007316, allocations: 104.8 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.007318, allocations: 0 / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002679/0.007586, allocations: 244.3 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.00761, allocations: 37.7 kB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007614, allocations: 4 kB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.007765, allocations: 63.7 kB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.301e-05/0.007808, allocations: 15.98 kB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000973/0.008781, allocations: 1.877 MB / 281.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.008894, allocations: 27.95 kB / 281.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.008906, allocations: 11.94 kB / 281.9 MB, free: 8.133 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 7.205e-05/0.008978, allocations: 164.6 kB / 282.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.009002, allocations: 19.91 kB / 282.1 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.009157, allocations: 118.7 kB / 282.2 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.009158, allocations: 0 / 282.2 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.009159, allocations: 4 kB / 282.2 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.009162, allocations: 0 / 282.2 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.009277, allocations: 152.5 kB / 282.4 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.009278, allocations: 0 / 282.4 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.009308, allocations: 15.94 kB / 282.4 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.743e-05/0.009405, allocations: 67.62 kB / 282.4 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.009413, allocations: 4 kB / 282.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008489/0.01026, allocations: 1.893 MB / 284.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01026, allocations: 4 kB / 284.3 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.01047, allocations: 263.5 kB / 284.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.01048, allocations: 11.91 kB / 284.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.01049, allocations: 0 / 284.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.225e-05/0.01055, allocations: 15.92 kB / 284.6 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.01059, allocations: 11.98 kB / 284.6 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.0106, allocations: 0 / 284.6 MB, free: 5.191 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.813e-05/0.01065, allocations: 151.2 kB / 284.8 MB, free: 5.043 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01065, allocations: 4.031 kB / 284.8 MB, free: 5.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.01083, allocations: 44 kB / 284.8 MB, free: 4.996 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 6.434e-05/0.0109, allocations: 95.25 kB / 284.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.01122, allocations: 349.5 kB / 285.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01122, allocations: 0 / 285.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.01133, allocations: 217.4 kB / 285.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.01152, allocations: 32.11 kB / 285.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.012, allocations: 254.5 kB / 285.8 MB, free: 3.969 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.222e-05/0.01204, allocations: 67.78 kB / 285.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.18e-05/0.01207, allocations: 16.47 kB / 285.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.01209, allocations: 12.5 kB / 285.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01209, allocations: 0 / 285.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of Templates: time 0.004413/0.01651, allocations: 3.275 MB / 289.1 MB, free: 0.625 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.6214751061052084]