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.00127/0.00127, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001475/0.001475, allocations: 210.1 kB / 23.74 MB, free: 4.672 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.996 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 47.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2471, allocations: 53.37 MB / 431.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003771/0.2508, allocations: 2.081 MB / 433.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.252, allocations: 0.5844 MB / 433.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.2521, allocations: 4 kB / 433.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.2522, allocations: 15.8 kB / 433.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.936e-05/0.2523, allocations: 39.64 kB / 433.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.2526, allocations: 75.83 kB / 433.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.2529, allocations: 207.3 kB / 434.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.253, allocations: 41 kB / 434.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.2531, allocations: 83.69 kB / 434.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.2534, allocations: 87.72 kB / 434.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.2534, allocations: 20 kB / 434.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.849e-05/0.2535, allocations: 20 kB / 434.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.2535, allocations: 35.84 kB / 434.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.885e-05/0.2536, allocations: 79.7 kB / 434.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.2539, allocations: 191.7 kB / 434.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2539, allocations: 3.938 kB / 434.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2539, allocations: 0 / 434.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.2539, allocations: 8 kB / 434.7 MB, free: 3.266 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.0007549/0.2547, allocations: 407.4 kB / 435.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2547, allocations: 12.03 kB / 435.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.201e-05/0.2548, allocations: 42.73 kB / 435.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.2549, allocations: 20.84 kB / 435.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.2552, allocations: 150.4 kB / 435.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.2554, allocations: 149 kB / 435.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.2554, allocations: 20.31 kB / 435.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.2557, allocations: 127.2 kB / 435.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2557, allocations: 0 / 435.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2557, allocations: 0 / 435.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.2557, allocations: 7.984 kB / 435.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.256, allocations: 115.8 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/0.2569, allocations: 486.4 kB / 436.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.2572, allocations: 110.6 kB / 436.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2574, allocations: 48.84 kB / 436.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2574, allocations: 0 / 436.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2574, allocations: 42.48 kB / 436.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.2574, allocations: 0 / 436.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008518/0.2583, allocations: 222.6 kB / 436.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.2583, allocations: 51.41 kB / 436.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2585, allocations: 160.2 kB / 436.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.2585, allocations: 29.8 kB / 436.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2586, allocations: 115.9 kB / 437 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.2587, allocations: 27.8 kB / 437 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-05/0.2587, allocations: 37.7 kB / 437 MB, free: 0.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2589, allocations: 318.8 kB / 437.3 MB, free: 396 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.2591, allocations: 67.89 kB / 437.4 MB, free: 328 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.2593, allocations: 74.55 kB / 437.5 MB, free: 244 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.2596, allocations: 148.2 kB / 437.6 MB, free: 80 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.2596, allocations: 4 kB / 437.6 MB, free: 76 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006518/0.2602, allocations: 259.9 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.2603, allocations: 37.7 kB / 437.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2603, allocations: 3.984 kB / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/0.2605, allocations: 68.89 kB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.2606, allocations: 15.98 kB / 438 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.2624, allocations: 1.526 MB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.2628, allocations: 44.02 kB / 439.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.2628, allocations: 8 kB / 439.6 MB, free: 13.97 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.0001339/0.2629, allocations: 121.8 kB / 439.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.263, allocations: 15.84 kB / 439.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.2634, allocations: 175.1 kB / 439.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2634, allocations: 4 kB / 439.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.2634, allocations: 0 / 439.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2634, allocations: 0 / 439.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.2636, allocations: 184.6 kB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2636, allocations: 0 / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.2637, allocations: 19.98 kB / 440.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.2639, allocations: 80.92 kB / 440.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.2639, allocations: 4 kB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.2654, allocations: 1.502 MB / 441.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.2654, allocations: 3.984 kB / 441.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.2658, allocations: 260.4 kB / 441.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.2659, allocations: 7.906 kB / 442 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.2659, allocations: 4 kB / 442 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.266, allocations: 15.98 kB / 442 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.2661, allocations: 11.92 kB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.2661, allocations: 4 kB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.2662, allocations: 120.9 kB / 442.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2662, allocations: 0 / 442.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.2665, allocations: 47.94 kB / 442.2 MB, free: 11.21 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.000983/0.2675, allocations: 0.7837 MB / 442.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000718/0.2682, allocations: 305.8 kB / 443.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2682, allocations: 0 / 443.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.2685, allocations: 166.7 kB / 443.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.2689, allocations: 47.16 kB / 443.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.2718, allocations: 1.965 MB / 445.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.2721, allocations: 0.7122 MB / 446.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.2722, allocations: 12.48 kB / 446.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.2723, allocations: 39.42 kB / 446.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2723, allocations: 0 / 446.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/0.3167, allocations: 4.608 MB / 450.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.79, allocations: 6.812 kB / 450.8 MB, free: 2.555 MB / 350.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 52.5] 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: 15.357665662886575]