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.0007807/0.0007807, 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.0007786/0.0007786, allocations: 156.9 kB / 23.95 MB, free: 0.6094 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.8579/0.8579, allocations: 177 MB / 204.1 MB, free: 5.738 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.704e-06/1.704e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.403e-05, allocations: 7.406 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002439/0.002463, allocations: 1.998 MB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007439/0.003207, allocations: 0.5416 MB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.635e-05/0.003293, allocations: 4 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.003402, allocations: 23.72 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.003626, allocations: 43.58 kB / 327.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.0039, allocations: 75.83 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.00411, allocations: 215.2 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.004229, allocations: 33.23 kB / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.004344, allocations: 119.8 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.004488, allocations: 67.84 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.004517, allocations: 16 kB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.41e-05/0.004561, allocations: 23.98 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.004588, allocations: 31.84 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.004637, allocations: 63.88 kB / 327.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.004843, allocations: 207.4 kB / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.004845, allocations: 4 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004846, allocations: 0 / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.00485, 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.0005138/0.005363, allocations: 419.4 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.0054, allocations: 11.98 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.005432, allocations: 38.75 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.005535, allocations: 28.83 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.005767, allocations: 149.6 kB / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.02e-05/0.005858, allocations: 149.1 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.005879, allocations: 12.38 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.006102, allocations: 208 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.006109, allocations: 192 / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.006124, allocations: 7.938 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.00613, allocations: 4 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.00631, allocations: 107.9 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.006843, allocations: 450.7 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.007058, allocations: 110.7 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.235e-05/0.00713, allocations: 44.83 kB / 329.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.007151, allocations: 4 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.007168, allocations: 34.5 kB / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.007169, allocations: 4 kB / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004829/0.007652, allocations: 226.5 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.007683, allocations: 55.5 kB / 330 MB, free: 10.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.007776, allocations: 158.2 kB / 330.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.007792, allocations: 25.7 kB / 330.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.007844, allocations: 116 kB / 330.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.007862, allocations: 35.78 kB / 330.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.007908, allocations: 29.72 kB / 330.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003111/0.008219, allocations: 322.8 kB / 330.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.008333, allocations: 89.66 kB / 330.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.008444, allocations: 108.2 kB / 330.9 MB, free: 9.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.008612, allocations: 148.2 kB / 331 MB, free: 9.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008614, allocations: 0 / 331 MB, free: 9.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000355/0.008969, allocations: 297.7 kB / 331.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.008997, allocations: 41.69 kB / 331.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.009001, allocations: 0 / 331.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.009169, allocations: 76.81 kB / 331.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.659e-05/0.009215, allocations: 12 kB / 331.4 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.01022, allocations: 1.503 MB / 332.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.01038, allocations: 52.03 kB / 333 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01039, allocations: 4 kB / 333 MB, free: 6.953 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.238e-05/0.01046, allocations: 125.8 kB / 333.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.01048, allocations: 11.91 kB / 333.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.01072, allocations: 167.2 kB / 333.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.01072, allocations: 8.172 kB / 333.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01073, allocations: 7.938 kB / 333.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.01073, allocations: 0 / 333.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.01086, allocations: 168.7 kB / 333.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01087, allocations: 0 / 333.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.0109, allocations: 15.98 kB / 333.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.011, allocations: 72.83 kB / 333.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.01101, allocations: 3.938 kB / 333.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008317/0.01184, allocations: 1.499 MB / 335.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01185, allocations: 4.25 kB / 335.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.01207, allocations: 252.1 kB / 335.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.01208, allocations: 19.89 kB / 335.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-06/0.01209, allocations: 4 kB / 335.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.01216, allocations: 15.98 kB / 335.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.01221, allocations: 15.92 kB / 335.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.01221, allocations: 0 / 335.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.01226, allocations: 114.2 kB / 335.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01226, allocations: 4 kB / 335.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001972/0.01245, allocations: 47.94 kB / 335.5 MB, free: 4.215 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.0003991/0.01285, allocations: 0.7863 MB / 336.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.01324, allocations: 327.6 kB / 336.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01324, allocations: 4.125 kB / 336.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.01338, allocations: 166.7 kB / 336.8 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.01359, allocations: 28.48 kB / 336.8 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.0154, allocations: 2.079 MB / 338.9 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.882e-05/0.01546, allocations: 93.81 kB / 339 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.068e-05/0.0155, allocations: 16.47 kB / 339 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.01554, allocations: 36.48 kB / 339 MB, free: 480 kB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01554, allocations: 0 / 339 MB, free: 480 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.03304, allocations: 5.302 MB / 344.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.662, allocations: 7.938 kB / 344.4 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 & 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/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] "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: 9.485796650871634]