Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001301/0.001301, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001445/0.001445, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2225, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01131/0.2338, allocations: 8.529 MB / 439.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005868/0.2397, allocations: 2.639 MB / 442.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.2408, allocations: 91.56 kB / 442.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009577/0.2504, allocations: 3.895 MB / 446.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.2535, allocations: 0.7687 MB / 447 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.2559, allocations: 0.9447 MB / 448 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004913/0.2608, allocations: 4.081 MB / 452 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.2712, allocations: 7.117 MB / 459.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/0.2746, allocations: 2.416 MB / 461.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004045/0.2786, allocations: 2.659 MB / 464.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.2798, allocations: 0.6641 MB / 464.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.2817, allocations: 0.8943 MB / 465.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.283, allocations: 1.251 MB / 467 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002781/0.2858, allocations: 1.988 MB / 469 MB, free: 492 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009794/0.2956, allocations: 8.968 MB / 478 MB, free: 7.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2956, allocations: 0 / 478 MB, free: 7.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2956, allocations: 0 / 478 MB, free: 7.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001863/0.2958, allocations: 0 / 478 MB, free: 7.484 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01337/0.3091, allocations: 5.326 MB / 483.3 MB, free: 2.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3092, allocations: 12.03 kB / 483.3 MB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001083/0.3103, allocations: 0.6539 MB / 484 MB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008058/0.3183, allocations: 1.321 MB / 485.3 MB, free: 108 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005992/0.3243, allocations: 2.606 MB / 487.9 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/0.3246, allocations: 345.4 kB / 488.3 MB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/0.3258, allocations: 456 kB / 488.7 MB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.339, allocations: 6.131 MB / 494.8 MB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.3391, allocations: 4 kB / 494.8 MB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000531/0.3397, allocations: 188 kB / 495 MB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002175/0.3399, allocations: 193.5 kB / 495.2 MB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.351, allocations: 5.272 MB / 0.4887 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03447/0.3855, allocations: 18.61 MB / 0.5069 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00526/0.3908, allocations: 2.068 MB / 0.5089 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.3918, allocations: 0.5923 MB / 0.5095 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.3919, allocations: 40.95 kB / 0.5096 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.392, allocations: 43.56 kB / 0.5096 GB, free: 10.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.056e-06/0.392, allocations: 0 / 0.5096 GB, free: 10.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002341/0.3943, allocations: 1.444 MB / 0.511 GB, free: 9.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.3944, allocations: 60.41 kB / 0.5111 GB, free: 9.395 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.3965, allocations: 1.531 MB / 0.5126 GB, free: 7.852 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.3966, allocations: 41.7 kB / 0.5126 GB, free: 7.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.3981, allocations: 2.045 MB / 0.5146 GB, free: 5.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.3984, allocations: 357.1 kB / 0.5149 GB, free: 5.387 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006731/0.3991, allocations: 475.9 kB / 0.5154 GB, free: 4.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3993, allocations: 357.9 kB / 0.5157 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.4006, allocations: 0.8124 MB / 0.5165 GB, free: 3.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.4028, allocations: 1.941 MB / 0.5184 GB, free: 1.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00368/0.4065, allocations: 2.935 MB / 0.5213 GB, free: 13.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.578e-05/0.4065, allocations: 12 kB / 0.5213 GB, free: 13.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004552/0.411, allocations: 2.802 MB / 0.524 GB, free: 10.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.4111, allocations: 24.25 kB / 0.5241 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.197e-05/0.4111, allocations: 43.94 kB / 0.5241 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.748e-05/0.4112, allocations: 56 kB / 0.5242 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.4129, allocations: 0.5342 MB / 0.5247 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.872e-05/0.413, allocations: 75.72 kB / 0.5247 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.4144, allocations: 297.9 kB / 0.525 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.4146, allocations: 132 kB / 0.5252 GB, free: 9.781 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002693/0.4173, allocations: 1.668 MB / 0.5268 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.4175, allocations: 135.1 kB / 0.5269 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.4198, allocations: 1.342 MB / 0.5282 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001446/0.4213, allocations: 0.9358 MB / 0.5291 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4213, allocations: 4 kB / 0.5291 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.4213, allocations: 7.969 kB / 0.5291 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1923/0.6136, allocations: 11 MB / 0.5399 GB, free: 94.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.6136, allocations: 19.84 kB / 0.5399 GB, free: 94.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/0.6143, allocations: 223.1 kB / 0.5401 GB, free: 94.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.786e-05/0.6143, allocations: 23.5 kB / 0.5401 GB, free: 94.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.6144, allocations: 50.91 kB / 0.5402 GB, free: 94.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.866e-05/0.6144, allocations: 38.89 kB / 0.5402 GB, free: 94.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.6144, allocations: 31.66 kB / 0.5403 GB, free: 94.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.6165, allocations: 2.464 MB / 0.5427 GB, free: 93.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.617, allocations: 252.7 kB / 0.5429 GB, free: 93.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.6172, allocations: 55.39 kB / 0.543 GB, free: 93.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/0.6178, allocations: 63.83 kB / 0.543 GB, free: 93.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.618, allocations: 132.5 kB / 0.5431 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/0.618, allocations: 52.98 kB / 0.5432 GB, free: 93.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001106/0.6191, allocations: 0.9951 MB / 0.5442 GB, free: 92.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6191, allocations: 0 / 0.5442 GB, free: 92.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002131/0.6213, allocations: 0.9435 MB / 0.5451 GB, free: 92.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002277/0.6236, allocations: 3.095 MB / 0.5481 GB, free: 90.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.6256, allocations: 1.811 MB / 0.5499 GB, free: 89.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.6256, allocations: 0 / 0.5499 GB, free: 89.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005945/0.6262, allocations: 0.5636 MB / 0.5504 GB, free: 89.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.6281, allocations: 384.2 kB / 0.5508 GB, free: 89.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/0.6476, allocations: 19.6 MB / 0.5699 GB, free: 69.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/0.6495, allocations: 2.525 MB / 0.5724 GB, free: 67.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001477/0.651, allocations: 0.8076 MB / 0.5732 GB, free: 66.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.6521, allocations: 1.257 MB / 0.5744 GB, free: 65.28 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6521, allocations: 4 kB / 0.5744 GB, free: 65.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06869/0.7208, allocations: 45.09 MB / 0.6185 GB, free: 20.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.8, allocations: 11.67 kB / 0.6185 GB, free: 20.54 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.247483383020153]