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.00159/0.00159, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001222/0.001222, allocations: 162.2 kB / 25.6 MB, free: 8.59 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.9977/0.9977, allocations: 177.1 MB / 206 MB, free: 4.512 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.242e-06/1.242e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.04e-05, allocations: 2.312 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002906/0.002927, allocations: 2.071 MB / 276.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.003878, allocations: 0.5677 MB / 276.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.112e-05/0.003969, allocations: 0 / 276.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.004078, allocations: 16.42 kB / 276.8 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.668e-05/0.004175, allocations: 44.19 kB / 276.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.004435, allocations: 64.72 kB / 277 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.0047, allocations: 223.8 kB / 277.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.00481, allocations: 31.52 kB / 277.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.004965, allocations: 119.8 kB / 277.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.005135, allocations: 75.77 kB / 277.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.005168, allocations: 20 kB / 277.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.00522, allocations: 20 kB / 277.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.005253, allocations: 27.91 kB / 277.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.847e-05/0.005321, allocations: 65.86 kB / 277.5 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.005544, allocations: 139.6 kB / 277.7 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005546, allocations: 0 / 277.7 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005547, allocations: 0 / 277.7 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005551, allocations: 0 / 277.7 MB, free: 0.9297 MB / 250.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.0005638/0.006115, allocations: 0.5101 MB / 278.2 MB, free: 388 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.006149, allocations: 8.031 kB / 278.2 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.006284, allocations: 36.83 kB / 278.2 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.006492, allocations: 156.4 kB / 278.4 MB, free: 160 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.953e-05/0.006592, allocations: 145.1 kB / 278.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.006616, allocations: 16.38 kB / 278.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.006813, allocations: 172 kB / 278.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.006823, allocations: 4.172 kB / 278.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.006838, allocations: 12.12 kB / 278.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.006844, allocations: 0 / 278.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.00694, allocations: 50.86 kB / 278.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.007514, allocations: 459.1 kB / 279.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.007694, allocations: 87.14 kB / 279.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.00773, allocations: 27.61 kB / 279.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.007746, allocations: 0 / 279.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.007771, allocations: 41.33 kB / 279.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.007772, allocations: 4 kB / 279.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004085/0.008181, allocations: 145.2 kB / 279.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.008207, allocations: 51.41 kB / 279.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.008325, allocations: 207.8 kB / 279.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.008344, allocations: 25.7 kB / 279.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.008423, allocations: 162.7 kB / 279.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.008447, allocations: 35.72 kB / 280 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.008513, allocations: 35.36 kB / 280 MB, free: 14.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.008642, allocations: 0.4923 MB / 280.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.107e-05/0.008713, allocations: 57.67 kB / 280.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.008788, allocations: 76.73 kB / 280.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.008896, allocations: 96.8 kB / 280.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008898, allocations: 0 / 280.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002731/0.009171, allocations: 212.5 kB / 280.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.009205, allocations: 37.69 kB / 281 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.009209, allocations: 0 / 281 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.009365, allocations: 59.72 kB / 281 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.009425, allocations: 27.84 kB / 281.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.01071, allocations: 1.846 MB / 282.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.01087, allocations: 27.91 kB / 282.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.01088, allocations: 8 kB / 282.9 MB, free: 11.21 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.702e-05/0.01098, allocations: 160.6 kB / 283.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.01102, allocations: 19.84 kB / 283.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.01121, allocations: 110.5 kB / 283.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01121, allocations: 4.016 kB / 283.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01122, allocations: 8 kB / 283.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01122, allocations: 0 / 283.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.01138, allocations: 125.2 kB / 283.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01139, allocations: 3.984 kB / 283.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.01143, allocations: 8 kB / 283.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/0.01156, allocations: 67.62 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.01157, allocations: 3.938 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.01266, allocations: 1.839 MB / 285.3 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01267, allocations: 4 kB / 285.3 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.01286, allocations: 251.4 kB / 285.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.01288, allocations: 7.953 kB / 285.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.01289, allocations: 0 / 285.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.01298, allocations: 16.02 kB / 285.6 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.01304, allocations: 15.92 kB / 285.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.01305, allocations: 4 kB / 285.6 MB, free: 8.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.309e-05/0.01312, allocations: 150.1 kB / 285.7 MB, free: 8.242 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01312, allocations: 0 / 285.7 MB, free: 8.242 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003039/0.01342, allocations: 47.95 kB / 285.8 MB, free: 8.195 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 0.0001199/0.01354, allocations: 95.25 kB / 285.9 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003845/0.01392, allocations: 349.6 kB / 286.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01393, allocations: 0 / 286.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.01409, allocations: 205.5 kB / 286.4 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.01439, allocations: 27.92 kB / 286.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.01501, allocations: 266.5 kB / 286.7 MB, free: 7.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.01e-05/0.01506, allocations: 63.84 kB / 286.8 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.187e-05/0.01511, allocations: 12.47 kB / 286.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.01523, allocations: 106.2 kB / 286.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01523, allocations: 0 / 286.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of Templates: time 0.00649/0.02172, allocations: 3.367 MB / 290.2 MB, free: 3.652 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.792698184028268]