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.001411/0.001411, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001502/0.001502, allocations: 212.9 kB / 23.73 MB, free: 4.164 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.467/1.467, allocations: 230.5 MB / 257.4 MB, free: 7.762 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 60.09 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.25, allocations: 53.41 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003492/0.2535, allocations: 1.986 MB / 433.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2545, allocations: 0.551 MB / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.2546, allocations: 3.938 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.2547, allocations: 27.78 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.79e-05/0.2548, allocations: 31.72 kB / 433.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.2551, allocations: 67.83 kB / 433.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.2553, allocations: 207.3 kB / 434 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2554, allocations: 33.25 kB / 434 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2556, allocations: 91.75 kB / 434.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.2557, allocations: 75.66 kB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.2558, allocations: 16 kB / 434.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.2558, allocations: 24 kB / 434.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.2559, allocations: 35.84 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.47e-05/0.256, allocations: 71.77 kB / 434.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.2562, allocations: 187.3 kB / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2562, allocations: 0 / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2562, allocations: 0 / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.2562, allocations: 0 / 434.5 MB, free: 3.043 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.0007489/0.257, allocations: 419.4 kB / 434.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.257, allocations: 15.98 kB / 435 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.2571, allocations: 46.75 kB / 435 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.2572, allocations: 20.84 kB / 435 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.2575, allocations: 157.1 kB / 435.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.2577, allocations: 141.1 kB / 435.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.2577, allocations: 20.36 kB / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.258, allocations: 209.7 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2581, allocations: 0 / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2581, allocations: 4 kB / 435.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2581, allocations: 0 / 435.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.2584, allocations: 119.7 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/0.2592, allocations: 454.5 kB / 436.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.2596, allocations: 102.7 kB / 436.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.2597, allocations: 56.7 kB / 436.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.2597, allocations: 0 / 436.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.2598, allocations: 38.44 kB / 436.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.2598, allocations: 4 kB / 436.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000811/0.2606, allocations: 226.3 kB / 436.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.2606, allocations: 55.41 kB / 436.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.2608, allocations: 157.9 kB / 436.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.2608, allocations: 29.7 kB / 436.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.2609, allocations: 112 kB / 436.9 MB, free: 484 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.2609, allocations: 23.81 kB / 436.9 MB, free: 460 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.261, allocations: 37.7 kB / 436.9 MB, free: 416 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2611, allocations: 318.8 kB / 437.2 MB, free: 88 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2613, allocations: 89.72 kB / 437.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.2615, allocations: 108.2 kB / 437.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.2618, allocations: 152.2 kB / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2618, allocations: 0 / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006134/0.2624, allocations: 297.6 kB / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.2625, allocations: 37.69 kB / 437.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2625, allocations: 3.938 kB / 437.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002308/0.2627, allocations: 72.88 kB / 438 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.2628, allocations: 20 kB / 438 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.2645, allocations: 1.506 MB / 439.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.2648, allocations: 52 kB / 439.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2648, allocations: 4 kB / 439.6 MB, free: 13.57 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.0001159/0.2649, allocations: 126.4 kB / 439.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.265, allocations: 19.84 kB / 439.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.2654, allocations: 163.5 kB / 439.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2654, allocations: 4 kB / 439.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.2654, allocations: 3.984 kB / 439.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2654, allocations: 0 / 439.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.2656, allocations: 176.7 kB / 440.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2656, allocations: 0 / 440.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.2657, allocations: 11.98 kB / 440.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/0.2658, allocations: 80.69 kB / 440.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2659, allocations: 4 kB / 440.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.2674, allocations: 1.491 MB / 441.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2674, allocations: 0 / 441.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.2678, allocations: 252.2 kB / 441.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.2678, allocations: 23.95 kB / 441.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2678, allocations: 0 / 441.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.268, allocations: 11.98 kB / 441.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.2681, allocations: 11.98 kB / 441.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.2681, allocations: 4 kB / 441.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.985e-05/0.2682, allocations: 114.8 kB / 442 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2682, allocations: 0 / 442 MB, free: 10.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.2685, allocations: 47.94 kB / 442.1 MB, free: 10.85 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.0007899/0.2693, allocations: 0.7835 MB / 442.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006918/0.2699, allocations: 343.8 kB / 443.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2699, allocations: 0 / 443.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.2702, allocations: 162.7 kB / 443.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2706, allocations: 39.97 kB / 443.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.2734, allocations: 2.084 MB / 445.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.199e-05/0.2735, allocations: 97.61 kB / 445.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.092e-05/0.2735, allocations: 4.484 kB / 445.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.2736, allocations: 35.42 kB / 445.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2736, allocations: 4 kB / 445.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.3078, allocations: 5.171 MB / 450.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.63, allocations: 8 kB / 450.8 MB, free: 2.055 MB / 350.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv","/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_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv failed! Error: Could not read variable dcPowerSupply.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv. Warning: Get data of variable dcPowerSupply.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.345397972036153]