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.001166/0.001166, allocations: 112.2 kB / 21.19 MB, free: 0.7539 MB / 14.72 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.001337/0.001337, allocations: 213.7 kB / 24.49 MB, free: 4.137 MB / 14.72 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 1.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001489/0.001489, allocations: 51.91 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2449, allocations: 53.36 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003618/0.2485, allocations: 2.078 MB / 434.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.2495, allocations: 0.5805 MB / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.788e-05/0.2496, allocations: 11.94 kB / 435.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.2497, allocations: 15.8 kB / 435.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.948e-05/0.2498, allocations: 35.7 kB / 435.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.2501, allocations: 71.84 kB / 435.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.2504, allocations: 211.3 kB / 435.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.2505, allocations: 40.89 kB / 435.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2506, allocations: 79.77 kB / 435.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.2508, allocations: 95.66 kB / 435.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.2509, allocations: 20 kB / 435.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.885e-05/0.2509, allocations: 23.94 kB / 435.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.251, allocations: 39.83 kB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.2511, allocations: 75.72 kB / 435.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.2514, allocations: 185.9 kB / 435.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2514, allocations: 0 / 435.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2514, allocations: 0 / 435.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2514, allocations: 0 / 435.9 MB, free: 3.387 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.0008483/0.2522, allocations: 419.4 kB / 436.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2523, allocations: 8.031 kB / 436.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.2524, allocations: 20.84 kB / 436.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.2527, allocations: 161.1 kB / 436.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.2529, allocations: 141.1 kB / 436.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2529, allocations: 16.38 kB / 436.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.2532, allocations: 131.3 kB / 436.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2532, allocations: 4 kB / 436.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.2532, allocations: 4 kB / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2532, allocations: 0 / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.2535, allocations: 115.8 kB / 436.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008629/0.2544, allocations: 490.4 kB / 437.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.2547, allocations: 106.7 kB / 437.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.2549, allocations: 44.84 kB / 437.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.2549, allocations: 0 / 437.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.2549, allocations: 46.44 kB / 437.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.2549, allocations: 0 / 437.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007907/0.2557, allocations: 218.3 kB / 437.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.2558, allocations: 51.41 kB / 437.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.2559, allocations: 156.1 kB / 438 MB, free: 1.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.2559, allocations: 33.7 kB / 438.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.256, allocations: 108 kB / 438.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.2561, allocations: 31.73 kB / 438.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.2561, allocations: 33.72 kB / 438.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2563, allocations: 319.2 kB / 438.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.2564, allocations: 67.95 kB / 438.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.2566, allocations: 78.55 kB / 438.7 MB, free: 420 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.2569, allocations: 144.3 kB / 438.8 MB, free: 260 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2569, allocations: 3.938 kB / 438.8 MB, free: 256 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006137/0.2575, allocations: 275.9 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.2576, allocations: 40.52 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2576, allocations: 0 / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/0.2578, allocations: 80.8 kB / 439.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.2579, allocations: 15.98 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.2597, allocations: 1.522 MB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.26, allocations: 44.02 kB / 440.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.26, allocations: 8 kB / 440.8 MB, free: 14.13 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.000121/0.2601, allocations: 117.8 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.2602, allocations: 15.91 kB / 440.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.2606, allocations: 171.1 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2606, allocations: 0 / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-06/0.2606, allocations: 4 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2606, allocations: 0 / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.2608, allocations: 184.6 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2608, allocations: 7.984 kB / 441.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.2609, allocations: 15.98 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.2611, allocations: 72.81 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2611, allocations: 3.938 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.2626, allocations: 1.506 MB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2626, allocations: 0 / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.263, allocations: 256.4 kB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.263, allocations: 12 kB / 443.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.2631, allocations: 8 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.2632, allocations: 15.98 kB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.2633, allocations: 11.92 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.2633, allocations: 4 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.2634, allocations: 120.8 kB / 443.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2634, allocations: 0 / 443.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000313/0.2637, allocations: 47.94 kB / 443.4 MB, free: 11.38 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.0001173/0.2638, allocations: 103.2 kB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006272/0.2644, allocations: 305.9 kB / 443.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2644, allocations: 0 / 443.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.2647, allocations: 162.7 kB / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.265, allocations: 32.09 kB / 443.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006971/0.2657, allocations: 308.6 kB / 444.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.2661, allocations: 0.7123 MB / 445 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.2661, allocations: 11.44 kB / 445 MB, free: 9.66 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2661, allocations: 0 / 445 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Templates: time 0.00496/0.2711, allocations: 2.481 MB / 447.5 MB, free: 7.199 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.953185789985582]