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.001661/0.001661, allocations: 114 kB / 20.44 MB, free: 1.469 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.00192/0.00192, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 8.039 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.002735/0.002735, allocations: 67.89 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2691, allocations: 53.4 MB / 431.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003391/0.2724, allocations: 2.075 MB / 433.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2735, allocations: 0.5805 MB / 433.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.2735, allocations: 0 / 433.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.2737, allocations: 31.78 kB / 433.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.705e-05/0.2738, allocations: 39.64 kB / 433.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.274, allocations: 63.89 kB / 434 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.2743, allocations: 207.3 kB / 434.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2744, allocations: 33.25 kB / 434.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.2745, allocations: 87.7 kB / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.2747, allocations: 91.7 kB / 434.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.2748, allocations: 16 kB / 434.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.742e-05/0.2748, allocations: 28 kB / 434.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.2749, allocations: 31.91 kB / 434.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.2749, allocations: 79.64 kB / 434.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.2752, allocations: 191.7 kB / 434.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2752, allocations: 0 / 434.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2752, allocations: 0 / 434.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.2752, allocations: 0 / 434.7 MB, free: 3.172 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.0007356/0.2759, allocations: 419.4 kB / 435.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.276, allocations: 8.031 kB / 435.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.276, allocations: 46.73 kB / 435.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.2761, allocations: 20.84 kB / 435.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.2764, allocations: 153.1 kB / 435.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.2766, allocations: 149.1 kB / 435.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.2766, allocations: 12.38 kB / 435.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.2769, allocations: 132.5 kB / 435.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2769, allocations: 4 kB / 435.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.2769, allocations: 8 kB / 435.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2769, allocations: 7.984 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.2772, allocations: 111.7 kB / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.278, allocations: 490.4 kB / 436.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.2784, allocations: 106.6 kB / 436.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.2785, allocations: 44.84 kB / 436.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2785, allocations: 3.938 kB / 436.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.2786, allocations: 46.48 kB / 436.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2786, allocations: 0 / 436.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007873/0.2793, allocations: 218.3 kB / 436.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2794, allocations: 55.41 kB / 436.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.2795, allocations: 161.9 kB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.2796, allocations: 25.7 kB / 436.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.2796, allocations: 120 kB / 437 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.2797, allocations: 27.8 kB / 437 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.2797, allocations: 33.7 kB / 437.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2799, allocations: 322.8 kB / 437.4 MB, free: 280 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.2801, allocations: 55.97 kB / 437.5 MB, free: 224 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.2802, allocations: 86.48 kB / 437.5 MB, free: 128 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.2805, allocations: 140.4 kB / 437.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2805, allocations: 0 / 437.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005976/0.2811, allocations: 271.8 kB / 437.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.2812, allocations: 40.19 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2812, allocations: 0 / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/0.2814, allocations: 80.88 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.2815, allocations: 15.98 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.2832, allocations: 1.518 MB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.2836, allocations: 44.05 kB / 439.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.2836, allocations: 8 kB / 439.6 MB, free: 13.86 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.0001167/0.2837, allocations: 125.8 kB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.2837, allocations: 15.84 kB / 439.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.2841, allocations: 175.5 kB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2841, allocations: 0 / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.2841, allocations: 4 kB / 440 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2841, allocations: 4 kB / 440 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.2844, allocations: 180.7 kB / 440.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2844, allocations: 0 / 440.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/0.2844, allocations: 11.98 kB / 440.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001644/0.2846, allocations: 84.73 kB / 440.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.2846, allocations: 4 kB / 440.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.2862, allocations: 1.506 MB / 441.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2862, allocations: 0 / 441.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.2866, allocations: 252.2 kB / 442 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.2866, allocations: 11.91 kB / 442 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2866, allocations: 4.062 kB / 442 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2868, allocations: 11.98 kB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.2868, allocations: 15.97 kB / 442 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.2868, allocations: 4 kB / 442 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.313e-05/0.2869, allocations: 111.2 kB / 442.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2869, allocations: 0 / 442.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.2872, allocations: 51.94 kB / 442.2 MB, free: 11.11 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.0007127/0.2879, allocations: 0.7825 MB / 443 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006232/0.2885, allocations: 314.2 kB / 443.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2885, allocations: 0 / 443.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.2888, allocations: 166.6 kB / 443.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.2892, allocations: 31.91 kB / 443.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.2919, allocations: 1.968 MB / 445.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.2922, allocations: 0.7122 MB / 446.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.779e-05/0.2922, allocations: 4.5 kB / 446.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.2923, allocations: 35.42 kB / 446.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2923, allocations: 4 kB / 446.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.3286, allocations: 4.619 MB / 450.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.37, allocations: 5.297 kB / 450.8 MB, free: 2.418 MB / 350.1 MB " [Timeout remaining time 648] (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.000957952001045]