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.0007812/0.0007812, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004008/0.004008, allocations: 159 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8389/0.8389, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.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.713e-06/1.713e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.861e-05, allocations: 7.484 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003262/0.00329, allocations: 2.009 MB / 327.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.004321, allocations: 0.5416 MB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.004428, allocations: 4 kB / 328.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.004545, allocations: 15.8 kB / 328.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.004647, allocations: 39.64 kB / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.004954, allocations: 67.84 kB / 328.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.005253, allocations: 223.2 kB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.005396, allocations: 41.17 kB / 328.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.00557, allocations: 115.8 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.005764, allocations: 67.83 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.005803, allocations: 20 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.772e-05/0.005861, allocations: 20 kB / 328.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.005902, allocations: 35.89 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.191e-05/0.005973, allocations: 59.84 kB / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.006254, allocations: 199.5 kB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006257, allocations: 0 / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.006258, allocations: 0 / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.006264, allocations: 0 / 329.2 MB, free: 11.9 MB / 298.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.0007098/0.006974, allocations: 419.4 kB / 329.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.007022, allocations: 11.98 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.007163, allocations: 20.84 kB / 329.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.007438, allocations: 161.5 kB / 329.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.007553, allocations: 145.1 kB / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.00758, allocations: 12.38 kB / 330 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.007908, allocations: 211.9 kB / 330.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.007918, allocations: 8.188 kB / 330.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.007943, allocations: 8.125 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.007951, allocations: 4 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.008149, allocations: 107.9 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.008689, allocations: 419.3 kB / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.008917, allocations: 114.7 kB / 330.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.637e-05/0.008994, allocations: 40.84 kB / 330.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.009016, allocations: 0 / 330.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.009035, allocations: 38.5 kB / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 7.31e-07/0.009035, allocations: 0 / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004986/0.009534, allocations: 226.3 kB / 331.1 MB, free: 9.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.009562, allocations: 55.34 kB / 331.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.009652, allocations: 149.8 kB / 331.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.009669, allocations: 25.7 kB / 331.4 MB, free: 9.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.009757, allocations: 116 kB / 331.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.009776, allocations: 31.73 kB / 331.5 MB, free: 9.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.009821, allocations: 29.72 kB / 331.5 MB, free: 9.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.0099, allocations: 322.8 kB / 331.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.01001, allocations: 89.66 kB / 331.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.01012, allocations: 114.5 kB / 332.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.01029, allocations: 140.2 kB / 332.2 MB, free: 8.684 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01029, allocations: 0 / 332.2 MB, free: 8.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004166/0.01071, allocations: 305.5 kB / 332.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.01073, allocations: 37.69 kB / 332.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01074, allocations: 0 / 332.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.01092, allocations: 76.73 kB / 332.6 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.01096, allocations: 24.05 kB / 332.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.01208, allocations: 1.475 MB / 334.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.01223, allocations: 47.98 kB / 334.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.01225, allocations: 15.92 kB / 334.2 MB, free: 6.586 MB / 298.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.223e-05/0.01232, allocations: 121.8 kB / 334.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.01234, allocations: 11.91 kB / 334.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.01256, allocations: 159.7 kB / 334.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.01257, allocations: 0 / 334.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.01257, allocations: 4 kB / 334.4 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01257, allocations: 7.984 kB / 334.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.01268, allocations: 141.3 kB / 334.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01269, allocations: 3.938 kB / 334.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.01272, allocations: 11.98 kB / 334.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.01283, allocations: 76.8 kB / 334.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.01284, allocations: 8 kB / 334.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008468/0.01368, allocations: 1.476 MB / 336.2 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01368, allocations: 0 / 336.2 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.01391, allocations: 252.3 kB / 336.4 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.01393, allocations: 7.953 kB / 336.4 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-06/0.01393, allocations: 4.062 kB / 336.4 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.014, allocations: 19.92 kB / 336.4 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.01405, allocations: 15.92 kB / 336.5 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.01406, allocations: 7.938 kB / 336.5 MB, free: 4.094 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.01411, allocations: 110.2 kB / 336.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01411, allocations: 0 / 336.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.01431, allocations: 47.95 kB / 336.6 MB, free: 3.941 MB / 298.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 7.823e-05/0.01439, allocations: 95.25 kB / 336.7 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003692/0.01475, allocations: 331.6 kB / 337 MB, free: 3.484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01476, allocations: 0 / 337 MB, free: 3.484 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.0149, allocations: 174.6 kB / 337.2 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.01509, allocations: 16.47 kB / 337.2 MB, free: 3.285 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.01568, allocations: 299.3 kB / 337.5 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.028e-05/0.01574, allocations: 97.78 kB / 337.6 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.01576, allocations: 12.5 kB / 337.6 MB, free: 2.836 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01576, allocations: 0 / 337.6 MB, free: 2.836 MB / 298.7 MB Notification: Performance of Templates: time 0.002622/0.01839, allocations: 2.507 MB / 340.1 MB, free: 344 kB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.196799041703343]