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.001416/0.001416, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001499/0.001499, allocations: 214 kB / 23.74 MB, free: 4.66 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.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 8 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.002048/0.002048, allocations: 63.91 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2588, allocations: 53.42 MB / 431.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003536/0.2623, allocations: 2.071 MB / 433.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2635, allocations: 0.5844 MB / 433.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.2637, allocations: 0 / 433.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.2638, allocations: 23.78 kB / 433.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.2639, allocations: 35.7 kB / 433.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.2642, allocations: 67.84 kB / 434 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.2647, allocations: 211.3 kB / 434.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.2648, allocations: 33.25 kB / 434.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.265, allocations: 87.7 kB / 434.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.2653, allocations: 91.7 kB / 434.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.2653, allocations: 19.94 kB / 434.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.2654, allocations: 27.98 kB / 434.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.2654, allocations: 31.86 kB / 434.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.2655, allocations: 79.64 kB / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.2659, allocations: 187.8 kB / 434.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2659, allocations: 0 / 434.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2659, allocations: 0 / 434.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2659, allocations: 0 / 434.7 MB, free: 3.164 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.0008732/0.2668, allocations: 419.4 kB / 435.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.2669, allocations: 8.031 kB / 435.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.138e-05/0.2669, allocations: 46.69 kB / 435.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.2671, allocations: 28.78 kB / 435.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.2675, allocations: 153.1 kB / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.2676, allocations: 149.1 kB / 435.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.2676, allocations: 12.38 kB / 435.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.268, allocations: 136.5 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.268, allocations: 0 / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.268, allocations: 0 / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.268, allocations: 8 kB / 435.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.2683, allocations: 111.8 kB / 435.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.2694, allocations: 494.4 kB / 436.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.2697, allocations: 106.7 kB / 436.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2698, allocations: 44.83 kB / 436.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.2699, allocations: 4 kB / 436.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.2699, allocations: 38.5 kB / 436.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2699, allocations: 0 / 436.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008769/0.2708, allocations: 226.3 kB / 436.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.2708, allocations: 51.41 kB / 436.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.271, allocations: 153.9 kB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.271, allocations: 29.7 kB / 436.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.97e-05/0.2711, allocations: 120 kB / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.2712, allocations: 32.17 kB / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.2713, allocations: 33.7 kB / 437.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2714, allocations: 322.8 kB / 437.4 MB, free: 272 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.2716, allocations: 55.97 kB / 437.5 MB, free: 216 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.2718, allocations: 90.41 kB / 437.5 MB, free: 116 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.2721, allocations: 144.3 kB / 437.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2721, allocations: 0 / 437.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006406/0.2728, allocations: 267.8 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.2728, allocations: 41.69 kB / 438 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2728, allocations: 0 / 438 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.2731, allocations: 68.83 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.2732, allocations: 15.98 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.2751, allocations: 1.526 MB / 439.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.2754, allocations: 39.98 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.2754, 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.000148/0.2756, allocations: 129.9 kB / 439.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.2756, allocations: 19.78 kB / 439.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.276, allocations: 163.1 kB / 439.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.276, allocations: 0 / 439.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.276, allocations: 3.938 kB / 439.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2761, allocations: 0 / 439.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.2763, allocations: 188.7 kB / 440.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2763, allocations: 4 kB / 440.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.2764, allocations: 8 kB / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/0.2766, allocations: 80.73 kB / 440.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.2766, allocations: 4 kB / 440.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.2782, allocations: 1.506 MB / 441.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2782, allocations: 4.062 kB / 441.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.2786, allocations: 252.3 kB / 442 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.2787, allocations: 11.91 kB / 442 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.2787, allocations: 3.938 kB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.2788, allocations: 15.98 kB / 442 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.2789, allocations: 15.97 kB / 442 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.2789, allocations: 8 kB / 442 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.495e-05/0.279, allocations: 107.2 kB / 442.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.279, allocations: 0 / 442.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.2793, allocations: 47.94 kB / 442.2 MB, free: 11.1 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.0007685/0.2801, allocations: 0.7864 MB / 443 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008072/0.2809, allocations: 301.9 kB / 443.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2809, allocations: 0 / 443.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.2812, allocations: 174.7 kB / 443.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.2816, allocations: 24.48 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.002952/0.2845, allocations: 1.979 MB / 445.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.2849, allocations: 0.7084 MB / 446.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.618e-05/0.285, allocations: 8.484 kB / 446.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.285, allocations: 35.42 kB / 446.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.285, allocations: 0 / 446.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.3234, allocations: 4.615 MB / 450.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.6, allocations: 13.28 kB / 450.8 MB, free: 2.406 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.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_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: 15.108192166080698]