Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001843/0.002967, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002402, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.018/1.018, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08569/1.104, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.984e-05, allocations: 5.266 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002223/0.002243, allocations: 2.147 MB / 247.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007135/0.002956, allocations: 0.5568 MB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.003028, allocations: 4 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.81e-05/0.003086, allocations: 19.78 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.003158, allocations: 47.58 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.003318, allocations: 75.77 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.003521, allocations: 211.3 kB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.003628, allocations: 33.94 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.003775, allocations: 127.8 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.003922, allocations: 67.83 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.003951, allocations: 20 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.481e-05/0.004015, allocations: 31.94 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.00404, allocations: 23.92 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.004086, allocations: 43.94 kB / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.004269, allocations: 127.6 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.441e-05/0.004284, allocations: 0 / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004285, allocations: 0 / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.0043, allocations: 0 / 248.6 MB, free: 10.09 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.0005106/0.004811, allocations: 413.7 kB / 249 MB, free: 9.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.004838, allocations: 8.031 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.004976, allocations: 110 kB / 249.1 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.005147, allocations: 160.6 kB / 249.2 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.00522, allocations: 145.1 kB / 249.4 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.005236, allocations: 8.375 kB / 249.4 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.005396, allocations: 180 kB / 249.6 MB, free: 8.965 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.005404, allocations: 4.188 kB / 249.6 MB, free: 8.961 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.005415, allocations: 8.125 kB / 249.6 MB, free: 8.953 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005421, allocations: 4 kB / 249.6 MB, free: 8.949 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.805e-05/0.005489, allocations: 37.53 kB / 249.6 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.005885, allocations: 319 kB / 249.9 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.006022, allocations: 74.52 kB / 250 MB, free: 8.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.006047, allocations: 20.86 kB / 250 MB, free: 8.477 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.006065, allocations: 0 / 250 MB, free: 8.477 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.006088, allocations: 38.5 kB / 250 MB, free: 8.43 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.031e-06/0.006089, allocations: 0 / 250 MB, free: 8.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002933/0.006382, allocations: 126.5 kB / 250.2 MB, free: 8.297 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.006404, allocations: 59.34 kB / 250.2 MB, free: 8.227 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.269e-05/0.006487, allocations: 153.9 kB / 250.4 MB, free: 8.066 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.006505, allocations: 29.7 kB / 250.4 MB, free: 8.031 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.006547, allocations: 108 kB / 250.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.006563, allocations: 31.73 kB / 250.5 MB, free: 7.891 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.006605, allocations: 37.69 kB / 250.6 MB, free: 7.848 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.006671, allocations: 318.8 kB / 250.9 MB, free: 7.527 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.006716, allocations: 57.62 kB / 250.9 MB, free: 7.465 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.006765, allocations: 72.25 kB / 251 MB, free: 7.379 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.006837, allocations: 92.28 kB / 251.1 MB, free: 7.273 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.006839, allocations: 4 kB / 251.1 MB, free: 7.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001463/0.006986, allocations: 173.8 kB / 251.3 MB, free: 7.078 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.007017, allocations: 37.7 kB / 251.3 MB, free: 7.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.007022, allocations: 4 kB / 251.3 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.007157, allocations: 64.86 kB / 251.4 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.355e-05/0.007201, allocations: 12 kB / 251.4 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007734/0.007974, allocations: 1.269 MB / 252.7 MB, free: 5.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.008082, allocations: 43.89 kB / 252.7 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.008091, allocations: 7.938 kB / 252.7 MB, free: 5.551 MB / 250.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 6.316e-05/0.008154, allocations: 117.8 kB / 252.8 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.008175, allocations: 11.92 kB / 252.8 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.008292, allocations: 103.9 kB / 252.9 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.008293, allocations: 0 / 252.9 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.008295, allocations: 4 kB / 253 MB, free: 5.289 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.008298, allocations: 4 kB / 253 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.008399, allocations: 89.86 kB / 253 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.008401, allocations: 0 / 253 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.008431, allocations: 15.92 kB / 253.1 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.008442, allocations: 15.89 kB / 253.1 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.885e-05/0.00853, allocations: 56.83 kB / 253.1 MB, free: 5.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.008536, allocations: 3.938 kB / 253.1 MB, free: 5.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005987/0.009135, allocations: 1.269 MB / 254.4 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009136, allocations: 0 / 254.4 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.009246, allocations: 196.3 kB / 254.6 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-06/0.009253, allocations: 0 / 254.6 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/0.009309, allocations: 12 kB / 254.6 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.009344, allocations: 16 kB / 254.6 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.00935, allocations: 4 kB / 254.6 MB, free: 3.492 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.654e-05/0.009376, allocations: 28.83 kB / 254.7 MB, free: 3.461 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009376, allocations: 0 / 254.7 MB, free: 3.461 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001683/0.009545, allocations: 51.89 kB / 254.7 MB, free: 3.41 MB / 250.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.481e-05/0.009629, allocations: 80.42 kB / 254.8 MB, free: 3.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.009878, allocations: 275.6 kB / 255.1 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.009883, allocations: 128 / 255.1 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.009973, allocations: 163.3 kB / 255.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.01013, allocations: 31.92 kB / 255.2 MB, free: 2.812 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.01117, allocations: 265.1 kB / 255.5 MB, free: 2.527 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.935e-05/0.01121, allocations: 79.69 kB / 255.6 MB, free: 2.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.01124, allocations: 12.34 kB / 255.6 MB, free: 2.418 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.099e-05/0.01134, allocations: 83.28 kB / 255.7 MB, free: 2.336 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01134, allocations: 0 / 255.7 MB, free: 2.336 MB / 250.7 MB Notification: Performance of Templates: time 0.004608/0.01594, allocations: 3.4 MB / 259.1 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.607568600215018]