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.00165/0.00165, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001704/0.001704, allocations: 207.2 kB / 23.72 MB, free: 4.391 MB / 14.72 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.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002082/0.002082, allocations: 63.89 kB / 378.2 MB, free: 2.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2492, allocations: 53.4 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003898/0.2531, allocations: 1.997 MB / 433.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2544, allocations: 0.5416 MB / 434.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.2546, allocations: 3.938 kB / 434.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2547, allocations: 15.86 kB / 434.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.2548, allocations: 43.62 kB / 434.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.2552, allocations: 67.86 kB / 434.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000411/0.2557, allocations: 215.3 kB / 434.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.2558, allocations: 37.23 kB / 434.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.256, allocations: 79.83 kB / 434.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.2562, allocations: 79.66 kB / 434.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.804e-05/0.2563, allocations: 23.94 kB / 434.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.408e-05/0.2564, allocations: 20 kB / 434.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.2564, allocations: 31.91 kB / 434.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.2565, allocations: 71.7 kB / 434.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.2568, allocations: 184.6 kB / 435 MB, free: 3.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2568, allocations: 0 / 435 MB, free: 3.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.2568, allocations: 4 kB / 435 MB, free: 3.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.2568, allocations: 0 / 435 MB, free: 3.102 MB / 334.1 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.0008681/0.2577, allocations: 415.4 kB / 435.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2577, allocations: 19.92 kB / 435.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.2579, allocations: 20.84 kB / 435.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.2582, allocations: 161.1 kB / 435.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.2584, allocations: 141.1 kB / 435.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.2584, allocations: 16.38 kB / 435.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.2589, allocations: 209.9 kB / 436 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2589, allocations: 0 / 436 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.2589, allocations: 8 kB / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.259, allocations: 0 / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.2593, allocations: 111.8 kB / 436.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.2603, allocations: 419.1 kB / 436.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.2607, allocations: 106.7 kB / 436.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.2608, allocations: 44.83 kB / 436.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.2608, allocations: 7.938 kB / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.2609, allocations: 30.56 kB / 436.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2609, allocations: 3.938 kB / 436.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008682/0.2617, allocations: 230.3 kB / 436.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2618, allocations: 55.41 kB / 437 MB, free: 0.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.2619, allocations: 145.3 kB / 437.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.262, allocations: 33.7 kB / 437.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.262, allocations: 112 kB / 437.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.2621, allocations: 31.73 kB / 437.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.2622, allocations: 29.72 kB / 437.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2623, allocations: 322.8 kB / 437.7 MB, free: 272 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.2625, allocations: 97.66 kB / 437.8 MB, free: 168 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.2627, allocations: 112.2 kB / 437.9 MB, free: 40 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.263, allocations: 148.2 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.263, allocations: 0 / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006361/0.2637, allocations: 293.6 kB / 438.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.2637, allocations: 33.69 kB / 438.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2637, allocations: 8 kB / 438.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/0.264, allocations: 76.8 kB / 438.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.2641, allocations: 23.98 kB / 438.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.2659, allocations: 1.479 MB / 439.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.2662, allocations: 48.02 kB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.2662, allocations: 7.984 kB / 440 MB, free: 13.78 MB / 350.1 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 0.0001277/0.2664, allocations: 121.8 kB / 440.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.2664, allocations: 15.91 kB / 440.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004958/0.2669, allocations: 163.5 kB / 440.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2669, allocations: 3.984 kB / 440.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2669, allocations: 8.125 kB / 440.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.2669, allocations: 7.984 kB / 440.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.2671, allocations: 149.1 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2671, allocations: 0 / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.2672, allocations: 11.98 kB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.2674, allocations: 76.81 kB / 440.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2674, allocations: 0 / 440.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.2691, allocations: 1.468 MB / 442 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2691, allocations: 192 / 442 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.2695, allocations: 252.2 kB / 442.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.2695, allocations: 19.95 kB / 442.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.2695, allocations: 11.98 kB / 442.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.2697, allocations: 11.98 kB / 442.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.2698, allocations: 15.92 kB / 442.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.2698, allocations: 0 / 442.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.2699, allocations: 107.2 kB / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2699, allocations: 0 / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000311/0.2702, allocations: 55.89 kB / 442.4 MB, free: 11.12 MB / 350.1 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.0001266/0.2703, allocations: 105.6 kB / 442.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006843/0.271, allocations: 327.6 kB / 442.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.271, allocations: 0 / 442.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.2713, allocations: 174.6 kB / 443 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.2716, allocations: 32.42 kB / 443.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006309/0.2723, allocations: 271 kB / 443.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.2724, allocations: 101.6 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.263e-05/0.2724, allocations: 8.438 kB / 443.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.2725, allocations: 15.44 kB / 443.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2725, allocations: 0 / 443.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Templates: time 0.007294/0.2798, allocations: 3.165 MB / 446.6 MB, free: 6.895 MB / 350.1 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.72734110429883]