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.0008535/0.0008535, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000863/0.000863, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8661/0.8661, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.853e-06/1.853e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/2.007e-05, allocations: 6.984 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002157/0.002177, allocations: 2.01 MB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007348/0.002912, allocations: 0.5338 MB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.002987, allocations: 4 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.53e-05/0.003082, allocations: 23.73 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.003155, allocations: 43.64 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.003395, allocations: 67.78 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.003599, allocations: 219.2 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.003709, allocations: 29.25 kB / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.003825, allocations: 119.8 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.003965, allocations: 71.83 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.003991, allocations: 16 kB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.383e-05/0.004035, allocations: 31.94 kB / 327.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.004061, allocations: 31.89 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.004108, allocations: 51.91 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.00431, allocations: 215.3 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004313, allocations: 0 / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004314, allocations: 0 / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.004318, allocations: 0 / 328 MB, free: 12.39 MB / 298.7 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.0005071/0.004825, allocations: 407.4 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.00486, allocations: 19.98 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.004894, allocations: 46.73 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.332e-05/0.004987, allocations: 20.84 kB / 328.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.005205, allocations: 157.6 kB / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.005286, allocations: 141.1 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.005304, allocations: 12.38 kB / 328.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.005521, allocations: 208 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.005529, allocations: 192 / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.005541, allocations: 3.938 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005546, allocations: 8 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.005724, allocations: 111.9 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.006262, allocations: 450.7 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.006479, allocations: 106.7 kB / 329.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.476e-05/0.006554, allocations: 56.77 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.006575, allocations: 3.938 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.006593, allocations: 30.56 kB / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.006594, allocations: 0 / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004763/0.007071, allocations: 226.3 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.007097, allocations: 59.41 kB / 330 MB, free: 10.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.007197, allocations: 146.3 kB / 330.1 MB, free: 9.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.007214, allocations: 29.7 kB / 330.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.007266, allocations: 120 kB / 330.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.007282, allocations: 23.81 kB / 330.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.007331, allocations: 37.7 kB / 330.4 MB, free: 9.773 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.007402, allocations: 322.8 kB / 330.7 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.007513, allocations: 85.67 kB / 330.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.007622, allocations: 111.7 kB / 330.9 MB, free: 9.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.007788, allocations: 156.2 kB / 331 MB, free: 9.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007791, allocations: 0 / 331 MB, free: 9.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003493/0.00814, allocations: 293.6 kB / 331.3 MB, free: 8.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.008167, allocations: 41.77 kB / 331.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.008172, allocations: 3.984 kB / 331.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.008335, allocations: 72.81 kB / 331.4 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.794e-05/0.008383, allocations: 15.98 kB / 331.4 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.009403, allocations: 1.499 MB / 332.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.009557, allocations: 43.95 kB / 333 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.009569, allocations: 8.062 kB / 333 MB, free: 6.961 MB / 298.7 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 7.466e-05/0.009644, allocations: 125.8 kB / 333.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.009666, allocations: 19.89 kB / 333.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.009899, allocations: 167.6 kB / 333.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.009901, allocations: 4.125 kB / 333.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.009904, allocations: 7.938 kB / 333.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.009906, allocations: 0 / 333.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.01004, allocations: 176.7 kB / 333.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.01005, allocations: 7.984 kB / 333.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.01008, allocations: 8 kB / 333.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.01019, allocations: 76.75 kB / 333.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.0102, allocations: 0 / 333.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008417/0.01104, allocations: 1.495 MB / 335.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01104, allocations: 4.125 kB / 335.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.01125, allocations: 248.3 kB / 335.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.01127, allocations: 19.83 kB / 335.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-06/0.01127, allocations: 4 kB / 335.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.01135, allocations: 20.05 kB / 335.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.01139, allocations: 15.97 kB / 335.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.0114, allocations: 0 / 335.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.603e-05/0.01145, allocations: 110.3 kB / 335.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01145, allocations: 0 / 335.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000199/0.01165, allocations: 47.94 kB / 335.5 MB, free: 4.223 MB / 298.7 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.0003903/0.01204, allocations: 0.7873 MB / 336.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.01241, allocations: 331.9 kB / 336.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01242, allocations: 192 / 336.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.01255, allocations: 166.6 kB / 336.8 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01276, allocations: 23.92 kB / 336.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.01436, allocations: 2.087 MB / 338.9 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.186e-05/0.01442, allocations: 97.8 kB / 339 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.742e-05/0.01446, allocations: 4.5 kB / 339 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.01451, allocations: 36.48 kB / 339 MB, free: 488 kB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.01451, allocations: 0 / 339 MB, free: 488 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.03269, allocations: 5.298 MB / 344.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/7.62, allocations: 11.94 kB / 344.3 MB, free: 11.29 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins/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: 9.293978684581816]