Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.001175/0.001175, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001381/0.001381, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8746/0.8746, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.38e-05, allocations: 12.89 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.005876/0.005899, allocations: 8.016 MB / 332.6 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.009124, allocations: 2.542 MB / 335.1 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004645/0.009588, allocations: 75.69 kB / 335.2 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.01282, allocations: 3.677 MB / 338.9 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.01412, allocations: 0.7835 MB / 339.7 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.01523, allocations: 0.9018 MB / 340.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002329/0.01755, allocations: 3.78 MB / 344.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005686/0.02324, allocations: 6.148 MB / 350.5 MB, free: 5.715 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.02594, allocations: 3.183 MB / 353.7 MB, free: 2.527 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.0278, allocations: 2.043 MB / 355.7 MB, free: 492 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005075/0.02831, allocations: 0.586 MB / 356.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007679/0.02908, allocations: 0.8081 MB / 357.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005369/0.02961, allocations: 1.13 MB / 358.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.03084, allocations: 1.524 MB / 359.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004622/0.03546, allocations: 7.998 MB / 367.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.03547, allocations: 0 / 367.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.03547, allocations: 0 / 367.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.648e-05/0.03553, allocations: 4 kB / 367.8 MB, free: 4.402 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.005858/0.04139, allocations: 4.83 MB / 372.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.04143, allocations: 8.031 kB / 372.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004909/0.04192, allocations: 0.5923 MB / 373.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/0.04584, allocations: 1.286 MB / 374.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.04809, allocations: 2.301 MB / 376.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.04824, allocations: 316.5 kB / 377.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003872/0.04862, allocations: 412 kB / 377.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005738/0.05436, allocations: 5.506 MB / 383 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.526e-05/0.05442, allocations: 0 / 383 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.05467, allocations: 180 kB / 383.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.05477, allocations: 176.6 kB / 383.4 MB, free: 4.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005181/0.05995, allocations: 4.8 MB / 388.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/0.07546, allocations: 17.09 MB / 405.2 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.07765, allocations: 1.749 MB / 407 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007517/0.0784, allocations: 0.7226 MB / 407.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.0785, allocations: 36.97 kB / 407.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.07853, allocations: 43.56 kB / 407.8 MB, free: 11.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 2.655e-06/0.07853, allocations: 0 / 407.8 MB, free: 11.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.001882/0.08041, allocations: 1.565 MB / 409.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.08045, allocations: 60.41 kB / 409.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.0816, allocations: 1.407 MB / 410.8 MB, free: 8.559 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.08164, allocations: 45.7 kB / 410.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006897/0.08233, allocations: 1.811 MB / 412.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.08252, allocations: 376.9 kB / 413.1 MB, free: 6.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000387/0.08291, allocations: 451.7 kB / 413.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.083, allocations: 353.8 kB / 413.8 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007504/0.08375, allocations: 0.8318 MB / 414.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.08516, allocations: 1.823 MB / 416.5 MB, free: 2.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.08713, allocations: 2.798 MB / 419.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.08714, allocations: 11.94 kB / 419.3 MB, free: 15.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002446/0.08959, allocations: 2.747 MB / 422 MB, free: 12.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.08962, allocations: 20 kB / 422.1 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.08965, allocations: 40.12 kB / 422.1 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.172e-05/0.08969, allocations: 48 kB / 422.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.09084, allocations: 0.5225 MB / 422.7 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.733e-05/0.09088, allocations: 71.72 kB / 422.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007057/0.09159, allocations: 290 kB / 423 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.09169, allocations: 112 kB / 423.1 MB, free: 11.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.0015/0.09319, allocations: 1.492 MB / 424.6 MB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.09336, allocations: 127.2 kB / 424.8 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.0952, allocations: 1.466 MB / 426.2 MB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009287/0.09613, allocations: 1.041 MB / 427.3 MB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.09613, allocations: 0 / 427.3 MB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.09614, allocations: 3.984 kB / 427.3 MB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009975/0.1061, allocations: 10.94 MB / 438.2 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.1061, allocations: 20 kB / 438.2 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.1065, allocations: 231.5 kB / 438.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/0.1065, allocations: 31.94 kB / 438.5 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.1066, allocations: 47.98 kB / 438.5 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.911e-05/0.1066, allocations: 39.86 kB / 438.6 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/0.1066, allocations: 31.88 kB / 438.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.1086, allocations: 2.626 MB / 441.2 MB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.1089, allocations: 270.7 kB / 441.5 MB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.109, allocations: 55.97 kB / 441.5 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.1094, allocations: 59.95 kB / 441.6 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1095, allocations: 155.2 kB / 441.8 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.1096, allocations: 63.94 kB / 441.8 MB, free: 7.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007312/0.1103, allocations: 0.9062 MB / 442.7 MB, free: 6.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1103, allocations: 4.062 kB / 442.7 MB, free: 6.918 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001541/0.1118, allocations: 0.8754 MB / 443.6 MB, free: 6.039 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.002535/0.1144, allocations: 3.259 MB / 446.9 MB, free: 2.473 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.1161, allocations: 1.837 MB / 448.7 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.1161, allocations: 4.188 kB / 448.7 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.1166, allocations: 0.6173 MB / 449.3 MB, free: 16 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1337/0.2503, allocations: 340.3 kB / 449.7 MB, free: 114.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.2648, allocations: 18.49 MB / 468.1 MB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.266, allocations: 2.254 MB / 470.4 MB, free: 99.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008856/0.2669, allocations: 0.7671 MB / 471.2 MB, free: 99.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007021/0.2676, allocations: 1.141 MB / 472.3 MB, free: 97.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2676, allocations: 0 / 472.3 MB, free: 97.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03791/0.3055, allocations: 40.52 MB / 0.5008 GB, free: 57.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.848, allocations: 8 kB / 0.5008 GB, free: 57.77 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_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_BalancingDelta.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.580542753450572]