Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.0008199/0.0008199, 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.001255/0.001255, 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.8587/0.8587, allocations: 177 MB / 204.1 MB, free: 5.727 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.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.626e-05, allocations: 7.062 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009155/0.009171, allocations: 8.526 MB / 333 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005072/0.01424, allocations: 2.654 MB / 335.7 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006548/0.0149, allocations: 91.56 kB / 335.8 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003584/0.01848, allocations: 4.132 MB / 339.9 MB, free: 404 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.01996, allocations: 0.7879 MB / 340.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.02106, allocations: 0.9377 MB / 341.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.02371, allocations: 4.235 MB / 345.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005439/0.02915, allocations: 7.07 MB / 353 MB, free: 3.223 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002529/0.03168, allocations: 3.581 MB / 356.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.03356, allocations: 2.281 MB / 358.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004564/0.03401, allocations: 0.6641 MB / 359.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008362/0.03485, allocations: 0.894 MB / 360.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005648/0.03541, allocations: 1.255 MB / 361.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.03663, allocations: 1.712 MB / 363.3 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004839/0.04147, allocations: 9.015 MB / 372.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.04147, allocations: 0 / 372.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.04147, allocations: 0 / 372.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.978e-05/0.04154, allocations: 0 / 372.4 MB, free: 15.78 MB / 346.7 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.006707/0.04825, allocations: 5.288 MB / 377.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.04829, allocations: 11.98 kB / 377.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005396/0.04883, allocations: 0.6539 MB / 378.3 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/0.05249, allocations: 1.325 MB / 379.6 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.05509, allocations: 2.597 MB / 382.2 MB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.05524, allocations: 345.8 kB / 382.6 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004208/0.05566, allocations: 460.1 kB / 383 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00663/0.06229, allocations: 6.134 MB / 389.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.933e-05/0.06235, allocations: 0 / 389.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/0.06264, allocations: 192 kB / 389.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.06275, allocations: 193.5 kB / 389.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/0.06875, allocations: 5.272 MB / 394.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.08609, allocations: 18.6 MB / 413.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/0.08876, allocations: 2.082 MB / 415.5 MB, free: 3.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.08937, allocations: 0.6001 MB / 416.1 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.08947, allocations: 36.97 kB / 416.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.0895, allocations: 43.56 kB / 416.2 MB, free: 3.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=94): time 2.946e-06/0.0895, allocations: 0 / 416.2 MB, free: 3.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.00142/0.09092, allocations: 1.437 MB / 417.6 MB, free: 1.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.09096, allocations: 68.41 kB / 417.7 MB, free: 1.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.09216, allocations: 1.527 MB / 419.2 MB, free: 168 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.09221, allocations: 45.64 kB / 419.2 MB, free: 116 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009847/0.09319, allocations: 2.033 MB / 421.3 MB, free: 14.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.09336, allocations: 357.1 kB / 421.6 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.09372, allocations: 471.9 kB / 422.1 MB, free: 13.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.09382, allocations: 357.9 kB / 422.4 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.09452, allocations: 0.8085 MB / 423.2 MB, free: 12.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.09566, allocations: 1.945 MB / 425.2 MB, free: 9.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.09781, allocations: 2.927 MB / 428.1 MB, free: 6.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.09782, allocations: 15.94 kB / 428.1 MB, free: 6.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002388/0.1002, allocations: 2.806 MB / 430.9 MB, free: 3.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.1002, allocations: 20 kB / 431 MB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.1003, allocations: 40.09 kB / 431 MB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.779e-05/0.1003, allocations: 60 kB / 431.1 MB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/0.1012, allocations: 0.5381 MB / 431.6 MB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-05/0.1012, allocations: 75.72 kB / 431.7 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007357/0.1019, allocations: 297.9 kB / 432 MB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.102, allocations: 128 kB / 432.1 MB, free: 2.117 MB / 394.7 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.001687/0.1037, allocations: 1.671 MB / 433.8 MB, free: 444 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1038, allocations: 135.1 kB / 433.9 MB, free: 308 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.1051, allocations: 1.342 MB / 435.2 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000795/0.1059, allocations: 0.9397 MB / 436.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1059, allocations: 4 kB / 436.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1059, allocations: 3.984 kB / 436.2 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009525/0.1154, allocations: 10.99 MB / 447.2 MB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.1154, allocations: 24 kB / 447.2 MB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.1158, allocations: 220.4 kB / 447.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/0.1158, allocations: 24 kB / 447.4 MB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.1159, allocations: 51.98 kB / 447.5 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.647e-05/0.1159, allocations: 35.86 kB / 447.5 MB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/0.1159, allocations: 31.88 kB / 447.5 MB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1396/0.2555, allocations: 2.423 MB / 450 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/0.2561, allocations: 250.9 kB / 450.2 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.2562, allocations: 47.27 kB / 450.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.2567, allocations: 60.92 kB / 450.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.2569, allocations: 139.9 kB / 450.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/0.2569, allocations: 61.47 kB / 450.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001071/0.258, allocations: 0.9927 MB / 451.5 MB, free: 108.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.258, allocations: 0 / 451.5 MB, free: 108.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001994/0.26, allocations: 0.9537 MB / 452.5 MB, free: 108.4 MB / 410.7 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.00196/0.2619, allocations: 3.047 MB / 455.5 MB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.2635, allocations: 1.802 MB / 457.3 MB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.2635, allocations: 2.594 kB / 457.3 MB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.264, allocations: 0.5685 MB / 457.9 MB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.2651, allocations: 380.3 kB / 458.2 MB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.278, allocations: 19.46 MB / 477.7 MB, free: 89.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.2793, allocations: 2.531 MB / 480.2 MB, free: 87.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008815/0.2802, allocations: 0.8087 MB / 481 MB, free: 86.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007394/0.2809, allocations: 1.262 MB / 482.3 MB, free: 85.41 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2809, allocations: 0 / 482.3 MB, free: 85.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04136/0.3223, allocations: 43.96 MB / 0.5139 GB, free: 41.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.276, allocations: 4.062 kB / 0.5139 GB, free: 41.7 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.989420314319432]